Cannot duplicate an already finalized project

I have sucessfully duplicated project in the making. For example, to experiment on a project duplicate and keeping my original safe in case I mess things up.
However, after creating and finalizing 9 projects, I want to duplicate one of those project to create a new, shorter version.
Selecting "Duplicate Project" SEEMS to kick iMovie into gear to create a duplicate. The spinning beach ball appears but then disappears and no duplicate shows. When I check the Finder iMovie project folder I can see a duplicate file but it has zero bytes file size.
I've restarted the computer and keep getting the same results. Any ideas?
Thanks for your help.
Bill

I have sucessfully duplicated project in the making. For example, to experiment on a project duplicate and keeping my original safe in case I mess things up.
However, after creating and finalizing 9 projects, I want to duplicate one of those project to create a new, shorter version.
Selecting "Duplicate Project" SEEMS to kick iMovie into gear to create a duplicate. The spinning beach ball appears but then disappears and no duplicate shows. When I check the Finder iMovie project folder I can see a duplicate file but it has zero bytes file size.
I've restarted the computer and keep getting the same results. Any ideas?
Thanks for your help.
Bill

Similar Messages

  • Cannot duplicate event due to same file name

    I'm trying to archive some video projects my boss has made using Final Cut Pro X 10.0.7 on OS X 10.7.5. The problem I'm having is that I cannot "Duplicate Project + Used Clips" like I have done in the past because this project uses clips from three different events, and each of these events contains files that happen to have the same names as files in the other events.
    For example:
    Event A
    - 00000-1.m4v
    - 00000-2.m4v
    - 00000-3.m4v
    Event B
    - 00000-1.m4v
    Event C
    - 00000-1.m4v
    - 00000-2.m4v
    So let's say the project he's created uses all these clips. If I attempt to "Duplicate Project + Used Clips", it won't work because 00000-1.m4v from three different events is used in the project. Apparently FCP is written in such a way that it allows you to fall into this trap. What it should be doing is either not allowing you to import a file into an event if that file name already exists in another event, or it should be smart enough to rename duplicate files on-the-fly when exporting (for example, 00000-1-1.m4v and 00000-1-2.m4v). But it does neither of these things.
    The problem here is that these are the three events:
    Event A = 108 clips
    Event B = 68 clips
    Event C = 80 clips
    All FCP will say is that "two or more media files use the same name - rename the file or files and try again". Only it's not talking about the name of the file from within FCP -- it only cares about the file name as seen in the Finder. So even if I went into event A and put "A-" in front of all the clilp names, it doesn't matter, because it's not really "A-00000-1.m4v" -- the file is still named "00000-1.m4v" in the Finder, and the problem is unresolved.
    Does anyone know any way of sorting out this problem without a massive amount of digging around, renaming files by hand and relinking?

    I'm still stuck on this problem and in a couple of days I'm going to be sitting in on a webinar that will discuss archiving in FCP X.
    I have tried several things and if I'm missing something I'd like someone to let me know.  I also cannot find much on this subject which is very surprising...or I'm not searching in the right places.  I'm going to submit feedback to Apple as follows:
    Error:  “The operation cannot be completed.  Two or more media files use the same name.  Rename the file or files and try again.”
    Operation attempted:  Duplicate project with used clips.
    Second operation attempted:  Consolidate project media > Copy used clips only.
    Cause:  Two or more events contain clips with the same name.
    Eg.
    event-20130126
              GOPR0002.mp4
    event-20130220
              GOPR0002.mp4
    Background:
              This video project resulted in a one hour documentary that used recordings from 6 different cameras shot over a span of 4 months.  Each day’s recording, for the most part, was broken into separate fcp events.  This resulted in 48 events.
              AVCHD imports result in media files whose name reflects the date and time of the recording which makes each of the imports’ media file names unique, even across all events.
              Imports from cameras such as GoPro’s Hero use their own original file names such as GOPR0001.  Therefore media file names are not unique across all events.
              Due to render and export problems, the video was broken up into 14 separate FCP X projects, aligned with what would ultimately be a “chapter” in the resulting video.
              The 14 projects “share” events;  i.e. the events used in the 14 projects (chapters) are not mutually exclusive.
              The source media as well as the events span over 3 physical external hard drives.
              All 14 projects are on one hard drive.
    Consideration #1:
              It would seem that one way around this problem is to merge all 48 events.  I will not do this since this function moves the events rather than copies them.  Additionally, I’m not even sure if I have enough space to consolidate all 48 events anywhere available to me.
    Consideration #2:
              This leaves only one other option which is to rename the source media files and relink all of them across all events.
    Questions:
              1.          Why can’t FCP (internally) qualify the media file names that it imports with the event name?  i.e why is it left up to the user to insure that all of the media file names are unique across all events used by a project?
              2.          If it doesn’t do #1, then why were we not warned of this before starting.  I find out about this when I’m done with my project and trying to archive.  Now it’s a huge task to rename and relink.
    Thoughts:
              Regardless of whether there is work-around to this problem, the fact that FCP has a “feature” such as events and allows projects to use more than one event but does not manage them properly reveals a weakness and flaw.  If such is the case, then it would be less painful, in this situation, to force a project to use only one event.
    I wish that others would speak to this problem.  Or let us know what the answer to this is.
    Thanks.

  • Why is the audio on my finalized project different than when I'm editing it?

    Why is the audio on my finalized project louder than the when I watch it on the editing screen? The background music doesn't turn down when I watch the final product and I cannot hear the clip, but on the small/edit screen it works perfectly.

    Have you already exported it and is it there where it messes up? If you are just clicking the button that makes the video full-screen in iMovie, that's your problem. For some reason, many people have movie glitches when they do that, like the video pausing for no reason, loss of sound, and other glitches. Just export it and it will most likely work.

  • NTSC assets cannot be imported into PAL projects.

    Hi, i have exported .mov from FCP and when i try to import it into DVD Studio Pro i get the message,
    NTSC assets cannot be imported into PAL projects, WHY, it is not an NTSC asset ?
    HELP
    Paul

    Do not use H.264. Use Pro Res or send the timeline straight from Final Cut to Compressor an a PAL preset (or one that you make yourself.) I prefer sending out self-contained versions in case I need to re-rencode or want to make items for various formats.
    Movie setting up Compressor *in case you need it) is [here|http://www.dvdstepbystep.com/compressor.mov] Make sure to use PAL and/or make sure you make your preset PAL

  • OEDQ Jobs erroring - Error Code: Cannot acquire lock, already locked

    Hi experts
    our Real time Individual match job is erroring out with above error code. Real time Individual clean and Real time Individual Cluster are working fine. What could be the reason for this?
    (log file extract:
    SEVERE: 06-May-2013 14:54:39: Cannot acquire lock: already locked (Code: 207,002)
    com.datanomic.director.missionmanager.exceptions.MissionExecutionException: Cannot acquire lock: already locked (Code: 207,002)
         at com.datanomic.director.missionlieutenant.plan.MissionExecutionPlan.execute(MissionExecutionPlan.java:961)
         at com.datanomic.director.missionlieutenant.executor.MissionExecutor.runMissionNow(MissionExecutor.java:205)
         at com.datanomic.director.missionmanager.manager.MissionManager$3.run(MissionManager.java:537))
    second question:
    we do have setup OEDQ for key generation (Our Siebel OCH is on 8.1.1.10). When we run Siebel Key Generate jobs on Contacts and Accounts, we do get records created in SIEBEL.S_DQ_ORG_KEY and SIEBEL.S_DQ_CON_KEY. Is this table where they are supposed to be generated?
    third question:
    Does Siebel OCH support Address matching?
    more questions to come in near future
    THANKING YOU IN ADVANCE!!
    rgrds
    m
    Edited by: user3035423 on 6.5.2013 8:18

    Hi Nick. thanks for your reply.
    I am newbie to the OEDQ. When you say that proces is open in Director, what does it mean? How can i close it?
    In order to overcome this situation i did
    1. stop datanomic service on Win2003 server
    2. started Job Main Initialize reference Data in EDQ-CDS - initialize Reference Data project and waited to finish
    3. started Job Real- time START ALL in EDQ-CDS project
    4. this is the step where some of the jobs are errorong out, as stated before
    From above to mee it looks like there should not be any process open in Director.
    can you please share your thoughts
    thanks
    rgrds
    m

  • Class final project need help

    I have this final project due Monday for my java class. I'm having some trouble with this zoom slider which gives me 2 errors about "cannot find symbol". I've tried just about eveything i can think of and i cant come up with the solution... Here is my code:
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JFrame;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JMenuItem;
    import javax.swing.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    public class MenuExp extends JFrame implements MouseMotionListener,MouseListener,ActionListener
    /* creates the file menus and submenus */
         JMenu fileMenu = new JMenu("File");
        JMenu plotMenu = new JMenu("Plotting");
        JMenu helpMenu = new JMenu("Help");
        JMenuItem loadAction = new JMenuItem("Load");
        JMenuItem saveAction = new JMenuItem("Save");
        JMenuItem quitAction = new JMenuItem("Quit");
        JMenuItem colorAction = new JMenuItem("Segment Colors");
        JMenuItem helpAction = new JMenuItem("Instructions");
        JButton button;
         Cursor previousCursor = new Cursor(Cursor.DEFAULT_CURSOR);
        JLabel cLabel;
        JPanel cPanel;
        private String filename = null;  // set by "Open" or "Save As"
        double scale = 1.0;
        public MenuExp(File f)
            setTitle("PlotVac");
            Container pane = getContentPane();
            ImageIcon chartImage = new ImageIcon(f.getName());
              ChartDisplay chartLabel = new ChartDisplay(chartImage);
              JScrollPane scpane = new JScrollPane(chartLabel);
              pane.add(scpane, BorderLayout.CENTER);
              chartLabel.addMouseListener(this);  //change cursor
              chartLabel.addMouseMotionListener(this); //handle mouse movement
              JPanel cPanel = new JPanel();
              cLabel= new JLabel("cursor outside chart");
              cPanel.add(cLabel);
              pane.add(cPanel, BorderLayout.NORTH);
              button = new JButton("Clear Route");
            button.setAlignmentX(Component.LEFT_ALIGNMENT);
            button.setFont(new Font("serif", Font.PLAIN, 14));
              cPanel.add(button);
              getContentPane().add(getSlider(), "Last");
    /* Creates a menubar for a JFrame */
            JMenuBar menuBar = new JMenuBar();
    /* Add the menubar to the frame */
            setJMenuBar(menuBar);
    /* Define and add three drop down menu to the menubar */
            menuBar.add(fileMenu);
            menuBar.add(plotMenu);
            menuBar.add(helpMenu);
    /* Create and add simple menu item to the drop down menu */
            fileMenu.add(loadAction);
            fileMenu.add(saveAction);
            fileMenu.addSeparator();
            fileMenu.add(quitAction);
            plotMenu.add(colorAction);
            helpMenu.add(helpAction);
             loadAction.addActionListener(this);
             saveAction.addActionListener(this);
             quitAction.addActionListener(this);
        private JSlider getSlider()
            JSlider slider = new JSlider(25, 200, 100);
            slider.setMinorTickSpacing(5);
            slider.setMajorTickSpacing(25);
            slider.setPaintTicks(true);
            slider.setPaintLabels(true);
            slider.addChangeListener(new ChangeListener()
                public void stateChanged(ChangeEvent e)
                     int value = ((JSlider)e.getSource()).getValue();
                     cPanel.zoom(value/100.0);
            return slider;
        private void zoom(double scale)
            this.scale = scale;
            cPanel.setToScale(scale, scale);
            repaint();
    /* Handle menu events. */
           public void actionPerformed(ActionEvent e)
              if (e.getSource() == loadAction)
                   loadFile();
             else if (e.getSource() == saveAction)
                    saveFile(filename);
             else if (e.getSource() == quitAction)
                   System.exit(0);
    /** Prompt user to enter filename and load file.  Allow user to cancel. */
    /* If file is not found, pop up an error and leave screen contents
    /* and filename unchanged. */
           private void loadFile()
             JFileChooser fc = new JFileChooser();
             String name = null;
             if (fc.showOpenDialog(null) != JFileChooser.CANCEL_OPTION)
                    name = fc.getSelectedFile().getAbsolutePath();
             else
                    return;  // user cancelled
             try
                    Scanner in = new Scanner(new File(name));  // might fail
                    filename = name;
                    while (in.hasNext())
                    in.close();
             catch (FileNotFoundException e)
                    JOptionPane.showMessageDialog(null, "File not found: " + name,
                     "Error", JOptionPane.ERROR_MESSAGE);
    /* Save named file.  If name is null, prompt user and assign to filename.
    /* Allow user to cancel, leaving filename null.  Tell user if save is
    /* successful. */
           private void saveFile(String name)
             if (name == null)
                    JFileChooser fc = new JFileChooser();
                    if (fc.showSaveDialog(null) != JFileChooser.CANCEL_OPTION)
                      name = fc.getSelectedFile().getAbsolutePath();
             if (name != null)
                  try
                      Formatter out = new Formatter(new File(name));  // might fail
                        filename = name;
                      out.close();
                      JOptionPane.showMessageDialog(null, "Saved to " + filename,
                        "Save File", JOptionPane.PLAIN_MESSAGE);
                    catch (FileNotFoundException e)
                      JOptionPane.showMessageDialog(null, "Cannot write to file: " + name,
                       "Error", JOptionPane.ERROR_MESSAGE);
    /* implement MouseMotionListener methods */     
         public void mouseDragged(MouseEvent arg0)
         public void mouseMoved(MouseEvent arg0)
              int x = arg0.getX();
              int y = arg0.getY();
              cLabel.setText("X pixel coordiate: " + x + "     Y pixel coordinate: " + y);
    /*      implement MouseListener methods */
         public void mouseClicked(MouseEvent arg0)
         public void mouseEntered(MouseEvent arg0)
             previousCursor = getCursor();
             setCursor(new Cursor (Cursor.CROSSHAIR_CURSOR) );
         public void mouseExited(MouseEvent arg0)
             setCursor(previousCursor);
             cLabel.setText("cursor outside chart");
         public void mousePressed(MouseEvent arg0)
         public void mouseReleased(MouseEvent arg0)
    /* main method to execute demo */          
        public static void main(String[] args)
             File chart = new File("teritory-map.gif");
            MenuExp me = new MenuExp(chart);
            me.setSize(1000,1000);
            me.setLocationRelativeTo(null);
            me.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            me.setVisible(true);
    }and this is the other part:
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.awt.geom.Line2D;
    import javax.swing.Icon;
    import javax.swing.JLabel;
    public class ChartDisplay extends JLabel
    /* line at 45 degrees from horizontal */
         private int x1=884, y1=290, x2=1084, y2=490;
    /* horizontal line - x3 same as x2 */
         private int x3=1084, y3=490, x4=1384, y4=490;
         public ChartDisplay(Icon arg0)
              super(arg0);
    /* This overrides inherited method to draw on image */
         protected void paintComponent(Graphics arg0)
              super.paintComponent(arg0);
    /* Utility method to draw a "dot" at line ends */
         private void drawDot(Graphics g, Color c, int xDot, int yDot, int sizeDot)
              Color previousColor = g.getColor();
              g.setColor(c);
                g.fillOval(xDot-(sizeDot/2), yDot-(sizeDot/2), sizeDot, sizeDot);
                g.setColor(previousColor);   
    /* Utility method to draw a wider line */
         private void drawLine(Graphics g, Color c, int lineWidth, int xStart, int yStart, int xEnd, int yEnd)
              Color previousColor = g.getColor(); // save previous color
              Graphics2D g2 = (Graphics2D) g;  // access 2D properties
                g2.setPaint(c);  // use color provided as parameter
             g2.setStroke(new BasicStroke(lineWidth)); // line width
             g.setColor(previousColor);    // restore previous color
    }I've basically used the structure of other programs and incorporated them into my design. If anyone knows how i can fix the errors please let me know. The errors are found in line 91 and 100 which is where the zoom slider is occuring.
    **NOTE** the program isnt fully functional in the sense that there are buttons and tabs etc.. that are missing action listeners and things like that.
    Thanks for the help
    Edited by: gonzale3 on Apr 17, 2008 6:55 PM

    gonzale3 wrote:
    The code was on the forums as the person who posted it was using it as an example in a program he used... i didnt borrow the entire code im just using the way he did the zoom method and added it into my program. I wasnt aware that it was used in the JPanel class. C'mon, it's your program. If you don't know what you are doing in this program, then you shouldn't be using it.
    That is why im asking if someone can show me the right way to implement a zoom slider into my program or maybe give me an example where its used.What the fuck is a zoom slider???
    Edited by: Encephalopathic on Apr 17, 2008 8:00 PM

  • Cannot Duplicate or Copy Files

    This is a repost as my issue is still unresolved.
    I have a user using an Intel iMac with a server managed account. the account resides on the server. The iMac is running 10.4.9 and the server is running Server 10.4.9.
    If she opens a directory on her desktop and tries to duplicate the file via Command-D she gets the error that "The operation cannot be completed because an item with the name "<insert any filename here>" already exists."
    If she keeps hitting Command-D repeatedly the file will often eventually duplicate. There is no duplicate prior to her trying to make the duplicate.
    Sometimes it works without an error. Usually not. I just deleted her account and recreated it, copying all her files back to her account via "cp -Rpv" in Terminal. I'm pretty certain it's not a permissions issue. I just ran permissions repair on the server. No change.
    It seems like I've seen something on this but I cannot find it in the discussions. Any help is of course appreciated.

    Jayce,
    I am having the same problem where the I cannot duplicate the file and then the source file is deleted. Did you ever find out a cause / solution for this?

  • I need a solution of this complicated problem to finalize my final project

    Introduction
    This project revolves around an important text processing task, text compression. In particular, you will be required to encode a sequence of words read from a source file into binary strings (using only the characters 0 and 1). It is important to note that text compression makes it possible to minimize the time needed to transmit text over a low-bandwidth channel, such as infrared connection. Moreover, text compression is helpful in storing large documents more efficiently. The coding scheme explored in this project is the Huffman Coding Scheme. While standard encoding schemes, such as Unicode and ASCII, use fixed-length binary strings to encode characters, Huffman coding assigns variable-length codes to characters. The length of a Huffman code depends on the relative frequency of its associated character. Specifically, Huffman coding capitalizes on the fact that some characters are used more frequently than others to use short codewords when encoding high-frequency characters and long codewords to encode low-frequency characters. Huffman coding saves space over state of the art fixed-length encoding and is therefore at the heart of file compression techniques in common use today. Figure 1 shows the relative frequencies of the letters of the alphabet as they appear in a representative sample of English documents.
    Letter     Frequency     Letter     Frequency
    A     77     N     67
    B     17     O     67
    C     32     P     20
    D     42     Q     5
    E     120     R     59
    F     24     S     67
    G     17     T     85
    H     50     U     37
    I     76     V     12
    J     4     W     22
    K     7     X     4
    L     42     Y     22
    M     24     Z     2
    Figure 1. Relative frequencies for the 26 letters of the alphabet.
    Huffman coding and decoding
    Huffman’s algorithm for producing optimal variable-length codes is based on the construction of a binary tree T that represents the code. In other words, the Huffman code for each character is derived from a full binary tree known as the Huffman coding tree, or simply the Huffman tree. Each edge in the Huffman tree represents a bit in a codeword, with each edge connecting a node with its left child representing a “0” and each edge connecting a node with its right child representing a “1”. Each external node in the tree is associated with a specific character, and the Huffman code for a character is defined by the sequence of bits in the path from the root to the leaf corresponding to that character. Given codes for the characters, it is a simple matter to use these codes to encode a text message. You will have simply to replace each letter in the string with its binary code (a lookup table can be used for this purpose).
    In this project, you are not going to use the table given in Figure 1 to determine the frequency of occurrence per character. Instead, you will derive the frequency corresponding to a character by counting the number of times that character appears in an input file. For example, if the input file contains the following line of text “a fast runner need never be afraid of the dark”, then the frequencies listed in the table given in Figure 2 should be used per character:
    Character          a     b     d     e     f     H     i     k     n     O     r     s     t     u     v
    Frequency     9     5     1     3     7     3     1     1     1     4     1     5     1     2     1     1
    Figure 2. The frequency of each character of the String X.
    Based on the frequencies shown in Figure 2, the Huffman tree depicted in Figure 3 can be constructed:
    Figure 3. Huffman tree for String X.
    The code for a character is thus obtained by tracing the path from the root of the Huffman tree to the external node where that character is stored, and associating a left edge with 0 and a right edge with 1. In the context of the considered example for instance, the code for “a” is 010, and the code for “f” is 1100.
    Once the Huffman tree is constructed and the message obtained from the input file has been encoded, decoding the message is done by looking at the bits in the coded string from left to right until all characters are decoded. This can be done by using the Huffman tree in a reverse process from that used to generate the codes. Decoding the bit string begins at the root of the tree. Branches are taken depending on the bit value – left for ‘0’ and right for ‘1’ – until reaching a leaf node. This leaf contains the first character in the message. The next bit in the code is then processed from the root again to start the next character. The process is repeated until all the remaining characters are decoded. For example, to decode the string “0101100” in the case of the example under study, you begin at the root of the tree and take a left branch for the first bit which is ‘0’. Since the next bit is a ‘1’, you take a right branch. Then, you take a left branch (for the third bit ‘1’), arriving at the leaf node corresponding to the letter a. Thus, the first letter of the coded word is a. You then begin again at the root of the tree to process the fourth bit, which is a ‘1’. Taking 2 right branches then two left branches, you reach the leaf node corresponding to the letter f.
    Problem statement
    You are required to implement the Huffman coding/decoding algorithms. After you complete the implementation of the coding/decoding processes, you are asked to use the resulting Java code to:
    1.     Read through a source file called “in1.dat” that contains the following paragraph:
    “the Huffman coding algorithm views each of the d distinct characters of the string X as being in separate Huffman trees initially with each tree composed of a single leaf node these separate trees will eventually be joined into a single Huffman tree in each round the algorithm takes the two binary trees with the smallest frequencies and merges them into a single binary tree it repeats this process until only one tree is left.”
    2.     Determine the actual frequencies for all the letters in the file.
    3.     Use the frequencies from the previous step to create a Huffman coding tree before you assign codes to individual letters. Use the LinkedBinaryTree class that we developed in class to realize your Huffman coding trees.
    4.     Produce an encoded version of the input file “in1.dat” and then store it in an output file called “out.dat”.
    5.     Finally, the decoding algorithm will come into play to decipher the codes contained in “out.dat”. The resulting decoded message should be written to an output file called “in2.dat”. If nothing goes wrong, the text stored in “in1.dat” and the one in “in2.dat” must match up correctly.

    jschell wrote:
    I need a solution of this complicated problem to finalize my final project The solution:
    1. Write code
    2. Test code3. If test fails, debug code, then go to step 2.

  • Help Needed - FINAL PROJECT - SAAJ MESSAGING

    Hi there!
    currently im doing my final project and it involves sending and receiving soap messages.
    im working with sun java studio creator for the first time.
    i have done this example (excuse me for possible dumb errors im just a noobie):
    * Page1.java
    * Created on 6 de Novembro de 2006, 12:40
    package webapplication1;
    import com.sun.rave.web.ui.appbase.AbstractPageBean;
    import com.sun.rave.web.ui.component.Body;
    import com.sun.rave.web.ui.component.Form;
    import com.sun.rave.web.ui.component.Head;
    import com.sun.rave.web.ui.component.Html;
    import com.sun.rave.web.ui.component.Link;
    import com.sun.rave.web.ui.component.Page;
    import javax.faces.FacesException;
    import com.sun.rave.web.ui.component.Button;
    import com.sun.rave.web.ui.component.TextArea;
    //soap saaj
    import javax.xml.*;
    import javax.xml.soap.*;
    import java.net.URL;
    import java.net.*;
    import java.util.*;
    import javax.xml.soap.SOAPConnectionFactory;
    import javax.xml.soap.SOAPConnection;
    import javax.xml.soap.MessageFactory;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.soap.SOAPPart;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPBody;
    import javax.xml.soap.SOAPElement;
    // add this import if you need soapaction
    import javax.xml.soap.MimeHeaders;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamResult;
    import com.sun.xml.messaging.saaj.*;
    import java.net.URL;
    import javax.xml.soap.*;
    import java.util.Iterator;
    import javax.xml.soap.Name;
    import javax.xml.soap.MessageFactory;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.soap.SOAPBody;
    import javax.xml.soap.SOAPPart;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPBodyElement;
    import javax.xml.messaging.ReqRespListener;
    import java.text.NumberFormat;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamResult;
    import com.sun.xml.messaging.saaj.*;
    * <p>Page bean that corresponds to a similarly named JSP page. This
    * class contains component definitions (and initialization code) for
    * all components that you have defined on this page, as well as
    * lifecycle methods and event handlers where you may add behavior
    * to respond to incoming events.</p>
    import javax.xml.messaging.JAXMServlet;
    //extends JAXMServlet
    public class Page1 extends AbstractPageBean implements ReqRespListener{
    // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
    private int __placeholder;
    * <p>Automatically managed component initialization. <strong>WARNING:</strong>
    * This method is automatically generated, so any user-specified code inserted
    * here is subject to being replaced.</p>
    private void _init() throws Exception {
    private Page page1 = new Page();
    public Page getPage1() {
    return page1;
    public void setPage1(Page p) {
    this.page1 = p;
    private Html html1 = new Html();
    public Html getHtml1() {
    return html1;
    public void setHtml1(Html h) {
    this.html1 = h;
    private Head head1 = new Head();
    public Head getHead1() {
    return head1;
    public void setHead1(Head h) {
    this.head1 = h;
    private Link link1 = new Link();
    public Link getLink1() {
    return link1;
    public void setLink1(Link l) {
    this.link1 = l;
    private Body body1 = new Body();
    public Body getBody1() {
    return body1;
    public void setBody1(Body b) {
    this.body1 = b;
    private Form form1 = new Form();
    public Form getForm1() {
    return form1;
    public void setForm1(Form f) {
    this.form1 = f;
    private Button button1 = new Button();
    public Button getButton1() {
    return button1;
    public void setButton1(Button b) {
    this.button1 = b;
    private TextArea textArea1 = new TextArea();
    public TextArea getTextArea1() {
    return textArea1;
    public void setTextArea1(TextArea ta) {
    this.textArea1 = ta;
    private TextArea textArea2 = new TextArea();
    public TextArea getTextArea2() {
    return textArea2;
    public void setTextArea2(TextArea ta) {
    this.textArea2 = ta;
    // </editor-fold>/*
    public MessageFactory messageFactSent= null;
    public MessageFactory messageFactReply=null;
    public MessageFactory messageFactReceiv= null;
    public SOAPConnectionFactory soapConnectionFact;
    public URL URLendpoint;
    public SOAPConnection connection ;
    public SOAPMessage messageSent;
    public SOAPPart soapPartSent;
    public SOAPEnvelope soapEnvelopeSent;
    public SOAPBody SoapBodySent;
    public SOAPMessage messageReceiv;
    public SOAPPart soapPartReceiv;
    public SOAPEnvelope soapEnvelopeReceiv;
    public SOAPBody SoapBodyReceiv;
    public SOAPMessage messageReply;
    public SOAPPart soapPartReply;
    public SOAPEnvelope soapEnvelopeReply;
    public SOAPBody SoapBodyReply;
    public SOAPMessage reply;
    public String StringAux="";
    public final String theURI = "http://172.16.5.223:8080/WebApplication1/";
    //public final String theURI = "http://172.16.5.223:8080/WebApplication1/";
    //public final String theURI = "http://172.16.5.193:8080/WebApplication1/";
    //http://localhost:8080/WebApplication1/faces/Page1.jsp
    public SOAPMessage onMessage(SOAPMessage message) {
    StringAux=StringAux+"On message called in receiving servlet\n";
    this.textArea1.setValue(StringAux);
    try {
    soapPartReceiv = message.getSOAPPart( );
    soapEnvelopeReceiv = soapPartReceiv.getEnvelope();
    SoapBodyReceiv = soapEnvelopeReceiv.getBody();
    //analise...if needed
    // Create the reply message
    messageReply = messageFactReply.createMessage();
    soapEnvelopeReply = messageReply.getSOAPPart().getEnvelope();
    SoapBodyReply= soapEnvelopeReply.getBody();
    // Remove empty header from the Envelope
    soapEnvelopeReply.getHeader().detachNode();
    Name bodyName = soapEnvelopeReply.createName("GetLastTradePrice",
    "m", "http://wombat.ztrade.com");
    SOAPBodyElement gltp = SoapBodyReply.addBodyElement(bodyName);
    Name name = soapEnvelopeReply.createName("symbol");
    SOAPElement symbol = gltp.addChildElement(name);
    symbol.addTextNode("SUNW");
    // Return a reply message back to the JAXM client
    StringAux=StringAux+"devolveu menssagem\n";
    this.textArea1.setValue(StringAux);
    return messageReply ;
    } catch(Exception e) {
    StringAux=StringAux+"Error in processi ng or replying to a message - e: " + e+"\n";
    this.textArea1.setValue(StringAux);
    return null;
    //this.getBean(name)
    public Page1() {
    // Service serve=new Service();
    // Client cli=new Client();
    // this.textArea1.setValue(serve.GetAux());
    // this.textArea2.setValue(cli.GetAux());
    // Create a MessageFactory
    try {
    URLendpoint=new URL(theURI);
    StringAux=StringAux+"depois de criar o endpoint \n";
    //Create SOAP connection
    soapConnectionFact = SOAPConnectionFactory.newInstance();
    connection = soapConnectionFact.createConnection();
    // Create a message from the message factory.
    messageFactSent = MessageFactory.newInstance();
    messageFactReply = MessageFactory.newInstance();
    messageFactReceiv = MessageFactory.newInstance();
    StringAux=StringAux+"depois de criar as message factory \n";
    this.textArea1.setValue(StringAux);
    } catch(Throwable e) {
    StringAux="erro2!\n"+StringAux+e.toString()+"\n";
    this.textArea1.setValue(StringAux);
    * <p>Return a reference to the scoped data bean.</p>
    protected ApplicationBean1 getApplicationBean1() {
    return (ApplicationBean1)getBean("ApplicationBean1");
    * <p>Return a reference to the scoped data bean.</p>
    protected RequestBean1 getRequestBean1() {
    return (RequestBean1)getBean("RequestBean1");
    * <p>Return a reference to the scoped data bean.</p>
    protected SessionBean1 getSessionBean1() {
    return (SessionBean1)getBean("SessionBean1");
    * <p>Callback method that is called whenever a page is navigated to,
    * either directly via a URL, or indirectly via page navigation.
    * Customize this method to acquire resources that will be needed
    * for event handlers and lifecycle methods, whether or not this
    * page is performing post back processing.</p>
    * <p>Note that, if the current request is a postback, the property
    * values of the components do <strong>not</strong> represent any
    * values submitted with this request. Instead, they represent the
    * property values that were saved for this view when it was rendered.</p>
    public void init() {
    // Perform initializations inherited from our superclass
    super.init();
    // Perform application initialization that must complete
    // before managed components are initialized
    // TODO - add your own initialiation code here
    // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
    // Initialize automatically managed components
    // Note - this logic should NOT be modified
    try {
    _init();
    } catch (Exception e) {
    log("Page1 Initialization Failure", e);
    throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
    // </editor-fold>
    // Perform application initialization that must complete
    // after managed components are initialized
    // TODO - add your own initialization code here
    * <p>Callback method that is called after the component tree has been
    * restored, but before any event processing takes place. This method
    * will <strong>only</strong> be called on a postback request that
    * is processing a form submit. Customize this method to allocate
    * resources that will be required in your event handlers.</p>
    public void preprocess() {
    * <p>Callback method that is called just before rendering takes place.
    * This method will <strong>only</strong> be called for the page that
    * will actually be rendered (and not, for example, on a page that
    * handled a postback and then navigated to a different page). Customize
    * this method to allocate resources that will be required for rendering
    * this page.</p>
    public void prerender() {
    * <p>Callback method that is called after rendering is completed for
    * this request, if <code>init()</code> was called (regardless of whether
    * or not this was the page that was actually rendered). Customize this
    * method to release resources acquired in the <code>init()</code>,
    * <code>preprocess()</code>, or <code>prerender()</code> methods (or
    * acquired during execution of an event handler).</p>
    public void destroy() {
    public String button1_action() {
    try {
    StringAux=StringAux+"antes de criar a messagem para enviar\n";
    messageSent = messageFactSent.createMessage();
    soapEnvelopeSent = messageSent.getSOAPPart().getEnvelope();
    //SoapBodySent = messageSent.getSOAPPart().getEnvelope().getBody();
    SoapBodySent = soapEnvelopeSent.getBody();
    Name bodyName = soapEnvelopeSent .createName("GetLastTradePrice",
    "m", "http://wombat.ztrade.com");
    SOAPBodyElement gltp = SoapBodySent.addBodyElement(bodyName);
    Name name = soapEnvelopeSent.createName("symbol");
    SOAPElement symbol = gltp.addChildElement(name);
    symbol.addTextNode("SUNW");
    StringAux=StringAux+"\nContent of the message: \n"+messageSent.toString()+"\n";
    // Send the SOAP message and get reply
    StringAux=StringAux+"Sending message to URL: \n"+ URLendpoint+"\n"+this.URLendpoint.getPath()+"\n";
    reply = connection.call(messageSent,URLendpoint);
    StringAux=StringAux+"\n\n Content of the reply message: \n"+reply.toString()+"\n";
    this.textArea1.setValue(StringAux);
    //tratamento da resposta
    connection.close();
    } catch(Throwable e) {
    StringAux="erro!\n"+StringAux+e.toString()+"\n";
    this.textArea1.setValue(StringAux);
    return null;
    Very simple , on a click of the button a message was supost to be sent. and receive on the other machine. i have launched the same war file on both pcs
    but now nothing happens just a exception message
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP
    ....could someone help me out here ,even share a wprking project with this goal
    thank you in advance
    DMS
    Message was edited by:
    DaniDaOne

    One time, after quitting IM and re-launching it later, my project disappeared from the project list.
    Apple Support told me to do this.
    1) quit IM
    2) with the finder, move the project out of the project directory
    3) launch IM
    4) quit IM
    5) with the finder, put the project back into the project directory
    6) launch IM
    My project re-appeared. He said these steps forces a project index to be rebuilt.
    Your symptoms are different but maybe the cure is the same --- good luck.

  • I have a finalized project in iMovie '11.  Shared it on Youtube, Facebook, and Vimeo.  Then, when I shared it to iDVD, it reverted to a previous version of the project, so my titles and pictures were out of sequence.  My final project is now gone!

    I have a finalized project in iMovie '11.  Shared it on Youtube, Facebook, and Vimeo.  Then, when I shared it to iDVD, it reverted to a previous version of the project, so my titles and pictures were out of sequence.  Now, in my list of projects, my project is there, but finalized as the previous version which is all out of sequence.   My true final project is now gone!  What happend?
    I didn't notice this problem until after the DVD was burned in iDVD.  Then, when I played the DVD in a public setting, I was a bit embarrassed by what played.

    Hi
    My first thoughts are
    • iMovie ill behaving - Trash the iMovie pref file - use to set things right
    • in reg. to Photos - Did You change iPhoto Photo Library - Then iMovie get's lost as it peeks into iPhoto on start up to see where photos are stored. Set iPhoto back to first Photo Library (when iMovie is not running) then start iMovie.
    Yours Bengt W

  • Creation of a new wbs elements to an already existing project

    1. i am using BAPI_BUS2054_CREATE_MULTI to create a new wbs element in an already existing project.When this is done then i am using BAPI_PS_PRECOMMIT and then bapi_transaction_commit
    so this creates the wbs element which i guess but only the element.
    2. Now i need to attach the networks to it which are there in BOM so i am taking all the network data from the table afko joining it with aufk.It is giving all the network data which was there attached prior to the project but the new one it is not showing.The query is
    SELECT afkoaufnr afkopronr aufkpspel aufkktext aufk~loekz
    INTO (afko-aufnr, afko-pronr, aufk-pspel, aufk-ktext, aufk-loekz)
    FROM  ( afko AS afko INNER JOIN aufk AS aufk ON aufkaufnr = afkoaufnr)
    WHERE afko~pronr = w_wbs_cur-psphi.
    3.Now i am comparing this data from above to the BOM data and take the difference of the networks which are to be created.
    But as the above query is not returning the new wbs so it is getting failed.

    i am already using this
      CALL FUNCTION 'CONVERSION_EXIT_KONPD_INPUT'
        EXPORTING
          input     = g_znpsdata_old-project_definition
        IMPORTING
          output    = w_wbs_cur-psphi
        EXCEPTIONS
          not_found = 1
          OTHERS    = 2.
    do i need to use the other one also

  • Premiere Pro CS3 - How to Save a Final Project to Make Changes to Afterwards

    OK, I just registered to the forum and this is my first post/question.
    I'm fairly new to Premiere Pro editing
    , and I wondered if there was a way to save the whole edited project/sequence to an external drive in case the client wanted changes to the project after they had viewed it.
    I edit mostly weddings, so the projects are anywhere from 1hr 30m to 1hr 50m. I've watched all the lynda.com tutorials on Premiere, and I know about saving the final project as an ISO image file or as DVD folder, etc.
    Also, I thought I remembered hearing something about being able to 'delete' the footage that wasn't used in the project too, and just saving the edited project somehow? I just thought I'd ask before I go ahead and delete all the footage that pertains to this edit. I've made an ISO file, but it doesn't look like Premiere will load it; nor will it load the video_ts files/folder.
    Anyway, so my questions are:
    1. Is there a way to load an ISO file to make editing changes?
    2. If not, then how could I save the whole project/sequence in order to load it back into Premiere to make any changes to the original edit?
    3. Does anyone here use Premiere for wedding edits? And if so, how do you 'save' projects for the longterm, in case you wanted to make changes to it?
    4. Once you have an ISO image file saved, how do you burn it through Encore? Or am I forced to use the Roxio Creator program?
    I guess that's it for now. I'm sure there are many more questions that I need answered, but I'll save them for later. :-)
    Thanks in advance for any and all suggestions!

    I do a LOT of weddings. Here's the process I've come up with over the years.
    First, make a window dub of the whole thing. Sit down in front of a properly calibrated TV and home theater system and watch it from beginning to end. Make notes on what needs correction (here's where the visible timecode comes in handy) - music selections, audio levels, clips to be trimmed, color corrections, misspellings, etc.
    Then, make those changes.
    Next, author the final DVD for client review. Send that out with appropriate paperwork for a signed approval. Never delete/archive a project without client approval. Now, because some clients would take literally months to approve a project, I instituted a time limit of three weeks. After that, any project is considered approved and may be archived. I make this very clear, with the deadline in writing, when I send out the review sample.
    If the video comes back for changes, things are still in place and I just make the requested changes, sending out another review copy with a two week limit this time. When an approval comes back or if a time limit passes, I finish up the project.
    I make any remaining client copies, plus one copy of the DVD to go on a shelf. I also make an ISO for storage on an internal hard drive, to be moved later to an external hard drive at the end of every year. This gives me two master copies of the finished DVD.
    I then save the project file, music and other audio selections, pictures and graphics to a CD (DVD if more space is needed, but this is rare). I make two copies in case one goes bad, and file them by groom's last name in a small CD file case. The previews and conformed files can always be rebuilt, so there's no need to save them. The actual media can be recaptured from tape, so they just get put on a shelf.

  • T430 cannot duplicate desktop on external display

    I am having a problem with my brand new T430. 
    I have purchased a miniDP to HDMI adapter, if I connect the adapter to my thinkpad and then an HDMI cable from the adapter to the external monitor it will correctly duplicate the display. However when I use the Fn to switch between duplicate, extend etc. I cannot get it back to successfully duplicate. If I disconnect the adapter and reconnect it will still not duplicate the display.
    If I enter the monitor properties on Windows 7 the internal display is labelled as display 1 and 2 whereas the external display is labelled as display 3. I can only duplicate 1 to 2 so cannot duplicate to the external device. If I extend my display it will display on the external device as expected and if I select external only it works fine.
    Anyone else experienced this? 
    This is my spec:
    i7-3520M (3.6GHz) 
    8GB Corsair Vengence RAM 
    250GB Samsung 840 SSD
    14in 1600x900 HD+ LCD
    NVIDIA NVS 5400M 2GB
    Win7 Pro 64
    Thanks
    Solved!
    Go to Solution.

    I called Lenovo and they helped me resolve the issue.
    It is a known bug with the HD4000/Nvidia switchable graphics, Windows is not able to control the clone display so in order to clone the display you must open Nvidia control panel, goto setup multiple displays, if the internal monitor shows as 'Laptop Display' and 'Analogue Display' then untick Analogue display. Make sure the external display is ticked, right click the Laptop Display and select Clone and clone to the external. Then click Apply at the bottom of the screen.

  • Final project too large on TV

    After publishing on media browser with medium,then large, final project picture and titles too large on TV.I'm using idvd for final.
    Thanks

    iDVD has an option under 'View" to show TV viewing areas so you can see what will show and what will be cut off.

  • I've downloaded Mavericks and now I cannot duplicate photos in iPhoto.  I highlight the photo and Photo Duplicate and nothing happens.  How can I duplicate?

    Has anyone had the same problem of photo duplication in iPhoto with the new Mavericks OS?  All my stuff is updated and now, with Mavericks, I cannot duplicate my photos in iPhoto.

    Works here.
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.

Maybe you are looking for

  • Application crashes when using JNI with Jdk 1,2, 1.3 and 1.4

    Hi! I have this application that has a GUI written in Java and a file parser written in C. JNI is used to connect these parts together. The problem is that the application only works when I am using jdk 1.1.8 but not when using jdk1.2, jdk1.3 or jdk1

  • Prompted for authorization even though it's already authorized

    I just bought a new song in iTunes. Whenever I try to play it, I'm prompted to authorize my computer. When I authorize it, it tells me that my computer is already authorized. It does it again every time I try to play the song. It only happens for thi

  • Subtemplate footer is not coming when calling from the main template

    Hi All, The footer from the subtemplate is not coming in the output when calling from the main template. Does anybody worked on the subtemplate? If the same footer is put in the main template, it is displaying. Please respond as this is a critical is

  • SMTP does not start on port 587

    I just activated IMAP and SMTP on an old G5 Server running the latest version of Leopard. Everything, but for one thing, runs fine.  IMAP works correctly from both the local network and any distant network I could try it.  SMTP runs fine on the local

  • Printing from iPhone or iPad no problem but cannot get pc to print

    Have just bought an instant ink compatible Envy 4502 and have set everything up according to instruction. iPhone and iPad work fine and can send printing to the printer no problem - why can I not print from my pc - surely you'd think this would be th