Transfering to laptop (machine-independent replication)

Is it possible, without a reinstall, to merely transfer the install from a desktop to a laptop?
For example, transfering an installed, configured and customized MOSXS (Mac OS X Server) 10.3 from a G4 350 to a much more powerful Macbook or Dual G5?
The alternative of reinstalling, then reconfiguring, then repopulating with content and user's data, simply seems ridicilous!
Essentially the concept of machine-independent replication.

I disagree with the naive part. While there are aspects that may be hard-coded to specific IP addresses, basic regexp can update every IP dependecy in an entire system with proper system administration methodologies. Thus if a firewall rule, IP-based virtual host, a hosts file, a round-robin DNS setup, and an smtp junk table all refer to a given IP, they can all be replaced with a variable and/or a regexp tool at the time of migration.
In fact, it makes little sense to edit each individual file manually with an IP address - makes far more sense to simply utilise a system-wide IP address tool that updates all the variables on the administrator's behalf.
I think it silly, naive, and a waste of time, to hard-code manually IP addresses, such they can change, should change, and are rarely in control of a given organization to whom they may be allocated to - and far too often are upstream dependant. Unless you own your own /8, in that case, please hire me!

Similar Messages

  • Errors when transferring my Time Machine backup to an external drive.

    Hello,
    I need some help transferring my Time Machine backup to an external drive. Let me explain what happened.
    I have a Mac OSX Mountain Lion that was upgraded to Mavericks when the upgrade came out. Prior to upgrading, I've been backing up  WD Passport Mac with the proprietary software "WD Unlocker on it". It worked flawlessly but after upgrading to Mavericks, I decided to backup and noticed that once i inserted the WD Passport, my screen will flicker, windows will close and reappear.
    I decided to read up on this and discovered that Mavericks is not compatible with the "WD Unlocker " program on the Passport drive. Since I already have a backup in place, i decided to restore my computer to factory settings and when I attached the Passport drive with my backup on it, My device will see the backup but it will keep spinning for hours without restoring my backup. I decided to read further on this and I got the same Mavericks compatibility conclusion.
    I then copied my entire backups.backupdb folder to my Mac desktop and formatted my WD Passport external drive and got rid of the proprietary software "WD Unlocker".. Once this was completed, I then tried to copy my backups.backupdb folder to my external drive within finder. Each time i tried, i get error messages and permission messages. Even when i changed the permission on the backups.backupdb folder to read & write for everyone, i still get the permissions error.
    Please helppppp. I have over 500gb of vital data in my backup.
    Thank you.

    Since you don't really have a question, I will give you a very broad information source for the next time you have a Time Machine question.
    Please visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Oh, you cannot use a computer whose only disk drive is the target of a an OS X cloning operation regardless of what software is used for the clone. You can, however, use the source drive except if you try to clone using Disk Utility.

  • HT5096 Transferred from time machine backup to a new computer and screen went white. What did I do?

    Transferred from time machine backup to new Mac desktop and screen went white on me. Did I do something wrong.???

    How did you transfer the data?

  • Transferring from laptop (managed) to desktop (referenced)

    Hello,
    I was hoping someone could guide me as the best way to move images from my laptop (which I import and edit as managed files) to my desktop machine where the photos are stored on external drives as referenced files. The key being to keep the metadata (corrections and ratings) from the laptop. Is this possible? If so what is the best procedure.
    Thanks in advance, Gary

    1. Network the two computers
    2. From the laptop use File > Relocate Manged Files
    to move the files across the network to their final
    home on the desktop computer
    3. Export the laptop's project (myproj.approject)
    that the files came from
    4. Import the myproj.approject file into Aperture on
    the desktop machine
    This may be slightly confusing -- for newcomers -- or maybe it's just me -- because of the managed/referenced. Step 2 assumes the images are managed, but it implies that on the desktop they'll be going into Finder folders outside the Ap library. So in step 3 the project is exported without checking the "consolidate images" box? But if the images are managed, that box has no effect, as I understand it.
    If the images end up outside the Ap library on the desktop, then after step 4 the desktop Ap library will have the project, but its images will be referenced. At that point, you either have to import them from wherever you transferred them to (making them managed) or use Manage Referenced to point the desktop's Ap library to their new location.
    I agree it's a powerful and flexible system, but it's not simple, at least at first, partly as a result. (But a built-in way to synchronize or merge libraries would make it a lot easier -- version 2?)

  • How to email videos transferred to laptop using Outlook 2007

    I just bought my 1st iPod, the Nano 5-G with the video camera. I've transferred the video files to my HP laptop, into Adobe PSE 6.0 and they are also in My Videos. They are .mp4 format. I've been unable to send these files in emails (Office 2007), which get locked up in my Outbox and never "Send". My video camera is great but it's not much good if I can't share the videos by email. I don't have trouble sending any other formats. I tried changing the name to .mpg, as I read in one discussion, but that didn't work. Any ideas? Thanks!

    This isn't the iPod 5th gen nano forum, it's the forum for the full sized iPod 5th gen (commonly known as the iPod video).
    You might get a better response to your question if you post it in the 5th gen nano forum.
    http://discussions.apple.com/forum.jspa?forumID=1357

  • Teststand project transfered to different machine (same specs) and the Initiate fails

    Hi all, 
    I am working on a bench setup with different intruments controlled by GPIB (HP E3631 power supply, Keithley 2400 etc). We are using teststand, which calls the dll generated from Labwindows/CVI environment. Our project is recently transferred to a different machine and now the communication (initiate command) fails with the HP E3631 and rest everything is working fine. I also tried running NI spy and I see nothing when I execute the instructions seperately for HP E3631.
    Can someone please help me to narrow down where the possible problem can be ( everything remains the same from the old machine to new machine). ?
    Regards,
    Nivesh

    The driver that is used on both the machines is exactly the same copy. As i told earlier a Labwindows/CVI generated dll is called from the Teststand program. The only difference is that the machine_1 (working with E3631) have the Labwindows/CVI version 5.5 installed and the other machine has version 5.0. I am also attaching the generated Spy logs for both the machines:
    1) Machine 1 has instructions for both the Kiethley and E3631 in the spy file.
    2) Machine 2 has instructions only for the Keithley and it fails when it reaches the initiate instruction for E3631.
        Error code > (-1074135040 : User defined)
    Thanks in advance.
    Attachments:
    Capture_machine1.spy ‏22 KB
    Capture_machine2.spy ‏16 KB

  • De-authorize before transferring to new machine?

    I will be transferring my data and apps to a new machine. I currently have 3 authorizations in iTunes. Should I de-authorize before transferring to the new machine? My concern is that it may disassociate all of my devices and data.

    Should I de-authorize before transferring to the new machine?
    If your are not going to use the old computer with iTunes, your should deauthorize it.
    Doesn't matter if you do it before or after you transfer to the new computer.

  • 2 Laptops. Independent Airport connectivity?

    Nooby question, sorry!
    I'm going wireless and in my flat 2 Apple laptops (my powerbook and my flatmate's iBook) will need to access my broadband connection.
    My question is, can both 'books access the internet independently of one another (via an airport extreme basestation or similar) or do I need to set up a 'network' with one of them?
    We need to be able to use the laptops independently because one of us often isn't home.
    thanks
    d

    If you have a base station in the network currently sharing your internet connection, you will be able to access them independently.

  • Stopping the player at the client machine independent of the server playing

    can anyone help me i need to allow the client to stop a player independent of the server transmitting the movie. can anyone help me plz!!
    here are rhe codes for the client and the client gui
    import javax.swing.*;
    import javax.swing.UIManager;
    import java.awt.*;
    import java.awt.event.*;
    public class ClientChoice
         public static void main(String args[])
              try
                             UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
                        catch(Exception e)
         }//main
         JFrame frame=new JFrame("--- New Line Movie ---");
         //Create the menu bar
         JMenuBar menuBar;
         JMenu menu;
         menuBar = new JMenuBar();
         //Build the file menu in the menu bar
         menu = new JMenu("File");
         menu.setMnemonic(KeyEvent.VK_F);
         menuBar.add(menu);
         JMenuItem menuItem= new JMenuItem("Exit",KeyEvent.VK_X);
         menuItem.addActionListener(new ActionListener()
              public void actionPerformed(ActionEvent e)
                        System.exit(0);
         menu.add(menuItem);
         //Build help menu in the menu bar.
         menu = new JMenu("Help");
         menu.setMnemonic(KeyEvent.VK_H);
         menuBar.add(menu);
         JMenuItem help_item=new JMenuItem("Help Topics",KeyEvent.VK_T);
         menu.add(help_item);
         JMenuItem about_item=new JMenuItem("About Us");
         menu.add(about_item);
         frame.setJMenuBar(menuBar);
              ImageIcon icon=new ImageIcon("images/potter.jpg","");
              JButton clickmovie=new JButton(icon);
              //final JLabel latest=new JLabel("<html><caption>Harry Potter</caption></html>");
              //clickmovie.add(latest);
              final JLabel welcome1=new JLabel("<html><font color=blue face=arial size=3><strong>New Line Movie</strong> gives you the possibility to view your favorite movies.<br>You can choose your category of movies below and click on any movie to get more information about it. <br>Latest News about new movies are also available. ENJOY!!!</font></html>");
              frame.getContentPane().add(welcome1,BorderLayout.EAST);
              final JLabel copyright=new JLabel("<html><font color=blue face=arial size=3><p align=center>&copy Copyright 2004</p></font></html>");
              //frame.getContentPane().add(copyright,BorderLayout.EAST);
              JPanel actionPanel=new JPanel();
              JPanel cartoonPanel=new JPanel();
              JPanel comedyPanel=new JPanel();
              JPanel fictionPanel=new JPanel();
              JPanel mainPanel=new JPanel();
              mainPanel.setLayout(new GridLayout(2,1,5,5));
              mainPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
              mainPanel.add(actionPanel);
              mainPanel.add(cartoonPanel);
              mainPanel.add(comedyPanel);
              mainPanel.add(fictionPanel);
              //mainPanel.add(copyright);
              actionPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Action"),BorderFactory.createEmptyBorder(5,5,5,5)));
              cartoonPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Cartoon"),BorderFactory.createEmptyBorder(5,5,5,5)));
              comedyPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Comedy"),BorderFactory.createEmptyBorder(5,5,5,5)));
              fictionPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Science Fiction"),BorderFactory.createEmptyBorder(5,5,5,5)));
              frame.getContentPane().add(mainPanel,BorderLayout.SOUTH);
              frame.getContentPane().add(clickmovie,BorderLayout.WEST);
              // Create combo box with action movies choices
              final JComboBox actionChoices;
              String[] actionmovie={"-Select a movie-","X-Men","Spiderman"};
              actionChoices=new JComboBox(actionmovie);
              actionChoices.setSelectedIndex(0);
              actionPanel.add(actionChoices);
              actionChoices.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        JComboBox cb = (JComboBox)e.getSource();
                        String act = (String)cb.getSelectedItem();
                        if(act=="X-Men")
                             JFrame action_xmen= new JFrame("--- New Line Movie: X-Men --- ");
                   action_xmen.setSize(400,350);
                   JPanel main=new JPanel();
                   main.setLayout(new GridLayout(2,1,5,5));
                             main.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
                             ImageIcon icon_men=new ImageIcon("images/x-men.jpg","");
                   JButton clickmovie_men=new JButton(icon_men);
                   final JLabel xmen_overview=new JLabel("<html><font color=blue face=arial size=3><b>Title:</b></font> <font color=black><strong>X-Men 2 </strong></font> <br><br><font color=blue face=arial size=3><b>Starring:</b> Hugh JACKMAN and Halle BARRY<br><br><b>Story:</b> The time has come for those who are different to stand united. <br><br>A military officer with a link to Wolverine's mysterious past conspires <br><br>to eradicate the mutant population for once and all. In order to defeat <br><br>this new menace, the X-men will be forced to join forces with Magneto. <br><br><b>Duration:</b> 1hr45min </font></html>");
                   final JLabel copyright=new JLabel("<html><font color=blue face=arial size=3><p align=center>&copy Copyright 2004</p></font></html>");
                             action_xmen.getContentPane().add(copyright,BorderLayout.SOUTH);
                   JButton view=new JButton("View");
                   view.setLayout(new BoxLayout(view,BoxLayout.X_AXIS));
                                            view.add(Box.createHorizontalGlue());
                             view.add(Box.createRigidArea(new Dimension(30,0)));
                   view.setMinimumSize(new Dimension(20,100));
                   view.setPreferredSize(new Dimension(20,100));
                   view.setMaximumSize(new Dimension(Short.MAX_VALUE,Short.MAX_VALUE));
                   view.setMnemonic('v');
                   view.addActionListener(new ActionListener()
                                  public void actionPerformed(ActionEvent e)
                                            String a="172.22.45.44/42050";
                                            String b="172.22.45.44/42052";
                                            String argv=a+b;
                                            Client cl= new Client(a,b);
                                            String[] c={a,b};
                                            cl.mainCl(c);
                                            //this is the code i added so that on clicking the view button
                                            //the client is automatically connected to the server and the player
                                            //plays on the current machine
                   main.add(clickmovie_men);
                             main.add(view);
                             //action_xmen.getContentPane().add(view,BorderLayout.SOUTH);
                   action_xmen.getContentPane().add(main,BorderLayout.WEST);
                   action_xmen.getContentPane().add(xmen_overview,BorderLayout.EAST);
                   action_xmen.show();
                        else if(act=="Spiderman")
                             JFrame action_spider= new JFrame("--- New Line Movie: Spiderman --- ");
                             action_spider.setSize(400,350);
                   action_spider.show();
              //Create combo box with cartoon movies choices
              JComboBox cartoonChoices=null;
              String[] cartoonmovie={"-Select a movie-","Le Roi Lion"};
              cartoonChoices=new JComboBox(cartoonmovie);
              cartoonChoices.setSelectedIndex(0);
              cartoonPanel.add(cartoonChoices);
              //cartoonChoices.addActionListener();
              //Create combo box with comedy movies choices
              JComboBox comedyChoices=null;
              String[] comedymovie={"-Select a movie-"};
              comedyChoices=new JComboBox(comedymovie);
              comedyChoices.setSelectedIndex(0);
              comedyPanel.add(comedyChoices);
              //comedyChoices.addActionListener();
              //Create combo box with fiction movies choices
              JComboBox fictionChoices=null;
              String[] fictionmovie={"-Select a movie-","ET"};
              fictionChoices=new JComboBox(fictionmovie);
              fictionChoices.setSelectedIndex(0);
              fictionPanel.add(fictionChoices);
              //fictionChoices.addActionListener();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.pack();
              frame.setVisible(true);
    //Implement player function here
    import java.io.*;
    import java.awt.*;
    import java.net.*;
    import java.awt.event.*;
    import java.util.Vector;
    import javax.media.*;
    import javax.media.rtp.*;
    import javax.media.rtp.event.*;
    import javax.media.rtp.rtcp.*;
    import javax.media.protocol.*;
    import javax.media.protocol.DataSource;
    import javax.media.format.AudioFormat;
    import javax.media.format.VideoFormat;
    import javax.media.Format;
    import javax.media.format.FormatChangeEvent;
    import javax.media.control.BufferControl;
    * Client to receive RTP transmission using the RTPConnector.
    public class Client implements ReceiveStreamListener, SessionListener,
         ControllerListener
    String sessions[] = null;
    RTPManager mgrs[] = null;
    Vector playerWindows = null;
    boolean dataReceived = false;
    Object dataSync = new Object();
    public Client(String sessions[]) {
         this.sessions = sessions;
    public Client(String a, String b)
         }//constructor
    protected boolean initialize() {
    try {
         mgrs = new RTPManager[sessions.length];
         playerWindows = new Vector();
         SessionLabel session;
         // Open the RTP sessions.
         for (int i = 0; i < sessions.length; i++) {
              // Parse the session addresses.
              try {
              session = new SessionLabel(sessions);
              } catch (IllegalArgumentException e) {
              System.err.println("Failed to parse the session address given: " + sessions[i]);
              return false;
              System.err.println(" - Open RTP session for: addr: " + session.addr + " port: " + session.port + " ttl: " + session.ttl);
              mgrs[i] = (RTPManager) RTPManager.newInstance();
              mgrs[i].addSessionListener(this);
              mgrs[i].addReceiveStreamListener(this);
              // Initialize the RTPManager with the RTPSocketAdapter
              mgrs[i].initialize(new RTPSocketAdapter(
                             InetAddress.getByName(session.addr),
                             session.port, session.ttl));
              // You can try out some other buffer size to see
              // if you can get better smoothness.
              BufferControl bc = (BufferControl)mgrs[i].getControl("javax.media.control.BufferControl");
              if (bc != null)
              bc.setBufferLength(350);
    } catch (Exception e){
    System.err.println("Cannot create the RTP Session: " + e.getMessage());
    return false;
         // Wait for data to arrive before moving on.
         long then = System.currentTimeMillis();
         long waitingPeriod = 30000; // wait for a maximum of 30 secs.
         try{
         synchronized (dataSync) {
              while (!dataReceived &&
                   System.currentTimeMillis() - then < waitingPeriod) {
              if (!dataReceived)
                   System.err.println(" - Waiting for RTP data to arrive...");
              dataSync.wait(1000);
         } catch (Exception e) {}
         if (!dataReceived) {
         System.err.println("No RTP data was received.");
         close();
         return false;
    return true;
    public boolean isDone() {
         return playerWindows.size() == 0;
    * Close the players and the session managers.
    protected void close() {
         for (int i = 0; i < playerWindows.size(); i++) {
         try {
              ((PlayerWindow)playerWindows.elementAt(i)).close();
         } catch (Exception e) {}
         playerWindows.removeAllElements();
         // close the RTP session.
         for (int i = 0; i < mgrs.length; i++) {
         if (mgrs[i] != null) {
    mgrs[i].removeTargets( "Closing session from AVReceive3");
    mgrs[i].dispose();
              mgrs[i] = null;
    PlayerWindow find(Player p) {
         for (int i = 0; i < playerWindows.size(); i++) {
         PlayerWindow pw = (PlayerWindow)playerWindows.elementAt(i);
         if (pw.player == p)
              return pw;
         return null;
    PlayerWindow find(ReceiveStream strm) {
         for (int i = 0; i < playerWindows.size(); i++) {
         PlayerWindow pw = (PlayerWindow)playerWindows.elementAt(i);
         if (pw.stream == strm)
              return pw;
         return null;
    * SessionListener.
    public synchronized void update(SessionEvent evt) {
         if (evt instanceof NewParticipantEvent) {
         Participant p = ((NewParticipantEvent)evt).getParticipant();
         System.err.println(" - A new participant had just joined: " + p.getCNAME());
    * ReceiveStreamListener
    public synchronized void update( ReceiveStreamEvent evt) {
         RTPManager mgr = (RTPManager)evt.getSource();
         Participant participant = evt.getParticipant();     // could be null.
         ReceiveStream stream = evt.getReceiveStream(); // could be null.
         if (evt instanceof RemotePayloadChangeEvent) {
         System.err.println(" - Received an RTP PayloadChangeEvent.");
         System.err.println("Sorry, cannot handle payload change.");
         System.exit(0);
         else if (evt instanceof NewReceiveStreamEvent) {
         try {
              stream = ((NewReceiveStreamEvent)evt).getReceiveStream();
              DataSource ds = stream.getDataSource();
              // Find out the formats.
              RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
              if (ctl != null){
              System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
              } else
              System.err.println(" - Recevied new RTP stream");
              if (participant == null)
              System.err.println(" The sender of this stream had yet to be identified.");
              else {
              System.err.println(" The stream comes from: " + participant.getCNAME());
              // create a player by passing datasource to the Media Manager
              Player p = javax.media.Manager.createPlayer(ds);
              if (p == null)
              return;
              p.addControllerListener(this);
              p.realize();
              PlayerWindow pw = new PlayerWindow(p, stream);
              playerWindows.addElement(pw);
              // Notify intialize() that a new stream had arrived.
              synchronized (dataSync) {
              dataReceived = true;
              dataSync.notifyAll();
         } catch (Exception e) {
              System.err.println("NewReceiveStreamEvent exception " + e.getMessage());
              return;
         else if (evt instanceof StreamMappedEvent) {
         if (stream != null && stream.getDataSource() != null) {
              DataSource ds = stream.getDataSource();
              // Find out the formats.
              RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
              System.err.println(" - The previously unidentified stream ");
              if (ctl != null)
              System.err.println(" " + ctl.getFormat());
              System.err.println(" had now been identified as sent by: " + participant.getCNAME());
         else if (evt instanceof ByeEvent) {
         System.err.println(" - Got \"bye\" from: " + participant.getCNAME());
         PlayerWindow pw = find(stream);
         if (pw != null) {
              pw.close();
              playerWindows.removeElement(pw);
    * ControllerListener for the Players.
    public synchronized void controllerUpdate(ControllerEvent ce) {
         Player p = (Player)ce.getSourceController();
         if (p == null)
         return;
         // Get this when the internal players are realized.
         if (ce instanceof RealizeCompleteEvent) {
         PlayerWindow pw = find(p);
         if (pw == null) {
              // Some strange happened.
              System.err.println("Internal error!");
              System.exit(-1);
         pw.initialize();
         pw.setVisible(true);
         p.start();
         if (ce instanceof ControllerErrorEvent) {
         p.removeControllerListener(this);
         PlayerWindow pw = find(p);
         if (pw != null) {
              pw.close();
              playerWindows.removeElement(pw);
              //p.close(); //i added to know if player close when click
         System.err.println("Client internal error: " + ce);
    * A utility class to parse the session addresses.
    class SessionLabel {
         public String addr = null;
         public int port;
         public int ttl = 1;
         SessionLabel(String session) throws IllegalArgumentException {
         int off;
         String portStr = null, ttlStr = null;
         if (session != null && session.length() > 0) {
              while (session.length() > 1 && session.charAt(0) == '/')
              session = session.substring(1);
              // Now see if there's a addr specified.
              off = session.indexOf('/');
              if (off == -1) {
              if (!session.equals(""))
                   addr = session;
              } else {
              addr = session.substring(0, off);
              session = session.substring(off + 1);
              // Now see if there's a port specified
              off = session.indexOf('/');
              if (off == -1) {
                   if (!session.equals(""))
                   portStr = session;
              } else {
                   portStr = session.substring(0, off);
                   session = session.substring(off + 1);
                   // Now see if there's a ttl specified
                   off = session.indexOf('/');
                   if (off == -1) {
                   if (!session.equals(""))
                        ttlStr = session;
                   } else {
                   ttlStr = session.substring(0, off);
         if (addr == null)
              throw new IllegalArgumentException();
         if (portStr != null) {
              try {
              Integer integer = Integer.valueOf(portStr);
              if (integer != null)
                   port = integer.intValue();
              } catch (Throwable t) {
              throw new IllegalArgumentException();
         } else
              throw new IllegalArgumentException();
         if (ttlStr != null) {
              try {
              Integer integer = Integer.valueOf(ttlStr);
              if (integer != null)
                   ttl = integer.intValue();
              } catch (Throwable t) {
              throw new IllegalArgumentException();
    * GUI classes for the Player.
    class PlayerWindow extends Frame {
         Player player;
         ReceiveStream stream;
         PlayerWindow(Player p, ReceiveStream strm) {
         player = p;
         stream = strm;
         public void initialize() {
         add(new PlayerPanel(player));
         public void close() {
         player.close();
         setVisible(false);
         dispose();
         public void addNotify() {
         super.addNotify();
         pack();
    * GUI classes for the Player.
    class PlayerPanel extends Panel {
         Component vc, cc;
         PlayerPanel(Player p) {
         setLayout(new BorderLayout());
         if ((vc = p.getVisualComponent()) != null)
              add("Center", vc);
         if ((cc = p.getControlPanelComponent()) != null)
              add("South", cc);
         public Dimension getPreferredSize() {
         int w = 0, h = 0;
         if (vc != null) {
              Dimension size = vc.getPreferredSize();
              w = size.width;
              h = size.height;
         if (cc != null) {
              Dimension size = cc.getPreferredSize();
              if (w == 0)
              w = size.width;
              h += size.height;
         if (w < 160)
              w = 160;
         return new Dimension(w, h);
    public static void mainCl(String argv[])
         if (argv.length == 0)
         prUsage();
         Client avReceive = new Client(argv);
         if (!avReceive.initialize()) {
         System.err.println("Failed to initialize the sessions.");
         System.exit(-1);
         // Check to see if Client is done.
         try {
         while (!avReceive.isDone())
              Thread.sleep(1000);
         } catch (Exception e) {}
         System.err.println("Exiting Client");
    static void prUsage() {
         System.err.println("Usage: Client <session> <session> ...");
         System.err.println(" <session>: <address>/<port>/<ttl>");
         System.exit(0);
    }// end of Client

    hi,
    i have try compile your source code...anyway, there is 28 errors..I m not sure where is the errors come from. Currently , i m working on the same project as you. Trying to play the media at client machine, but stil can't manage to do so. Can i have your email address? I want to consult you a bit about my project .Is it ok? Thanks =).

  • When attempting to play songs on itunes, getting error message that file cannot be found and asked if i want to locate it.  not sure where it went. do have new computer and all files were transferred to new machine.

    I just tried to play some songs that i have in itunes and i get an error message that says file can't be located.  It appears to be on about half the songs of the thousands I have in there.  I do have a new computer and transferred the itunes library about a month ago.  I have successfully managed ipod on new computer.  I wonder if it is a licensing issue but this is just the second computer althought the third hard drive these songs have been on.  It is affecting songs loaded from CD's and purchased from itunes on the old computer alike. 

    Hi angela dfromtx,
    When tracks in iTunes display a it means the file cannot be located; it may have been moved or deleted. You'll have to locate the file manually if it is still available. For more information refer to the following article:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Alternatively, if your media was downloaded from the iTunes Store, you may be able to download it again free of charge:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Thanks,
    Matt M.

  • I used to sync my ipad on an asus laptop, now I have a Mac mini and want to sync with it. Can I? Can things be transferred from laptop to Mac mini?

    I synced my ipad2 with an asus laptop. Now I have a Mac mini that I want to use for syncing and backup. But when I connected my ipad to the Mac mini it said something about the ipad being already synced to another computer and backup is permitted only one computer at a time. How can I transfer my backup to the Mac mini ? And delete my previous (I.e. asus laptop) iTunes backup system?

    You don't have to delete anything from the Asus. You can copy your iTunes library from the laptop to the Mac. Read this for more information.
    http://support.apple.com/kb/HT4527

  • I am transferring my Time Machine to a new hard drive, and it keeps crashing. Why?

    I purchased a 3 TB Western Digital Firewire Drive (it also has USB) to set up as a new Time Machine. I want to use my present backup file. I am not experiencing any problems with my present Time Machine, but the drive is very full.
    I am following the instructions posted here: http://support.apple.com/kb/HT5096
    The drive has been reformatted as per the instructions.
    The transfer process works well until I get the following message:
    "Backup of Untitled" cannot be converted. Please install a newer version of iWork.
    I am using iWork '09 Version 4.3 (1048). I purchased it on CD
    I click OK.
    Then I get the message:
    The operation can't be completed because you don't have permission to access some of the items.
    I click OK.
    Then I get the message:
    The operation can't be completed because an unexpected error occurred (error code -8062).
    I click OK again.
    Then I get the last two messages over and over again (the order seems random), until I finally stop getting messages. A short while later, the process stops, and the copy window disappears.
    I have done this twice. I have also run disk utilities on the original Time Machine, and the disk appears OK.
    The process, when it completes, will take about 20 hours. I would hope to do it once more, and have it actually work.
    Looking forward to some help in solving this situation.
    Thank you

    There are apparently some damaged files on the old backups.  You might be able to copy them via the Finder, but if it works, it will copy the damage -- not a good idea.
    Your best bet is probably to just start fresh on the new drive.
    You can always see and restore from the old set via the Browse Other Backup Disks option, per Time Machine - Frequently Asked Question #17.

  • Transferring from laptop to laptop?

    I'm upgrading to a desktop (imac) and want to give my laptop to my spouse (whose laptop is on the fritz).  After I run migration assistant (or whatever they are calling it now) on the new iMac to get my stuff from Laptop 'A'  onto the desktop, what's the best way to get Laptop 'B' onto Laptop 'A'?  Is migration assistant built in?  Best to do a total wipe of the drive and reinstall 10.7?
    Any advice appreciated.

    That should be easy then. Connect both MacBooks with an Ethernet cable (doing it wirelessly is slow) and run Migration Assistant using this article as your guide.. Once her data is there you can, if you wish, delete your account.
    Best of luck.

  • Picture viewing and transferring to laptop....how?

    Hi there,
    I am so new to this! Husband presented me with an ipad2 and a long trip this summer.I have the camera connection kit but now I have questions.First , what is the best app for viewing my pictures? Second, Will I be able to move my pictures from my iPad 2 onto my laptop? How do I do this and do I need an app for that? Thank you for any help and advise you can give me!

    You can view photos with the included Photos app.
    Photos in the iPad's Camera Roll can be imported by your computer as with any other digital camera.

  • Bought Lightroom 5 with the expectation that I could download to a desktop and a laptop machine.

    do I need to buy two copies of Lightroom to get it on a desktop and a laptop? 

    On each computer, just download from the Adobe website, install, enter your serial number and you're done.
    Win: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5693
    Mac: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5692

Maybe you are looking for

  • Configured assignment blocks are not coming on to WebUi

    Hi All,            Recently we have upgraded from CRM 5.0 to CRM 7.0. In PRDIOOV component i have configured the assignment blocks which needs to be displayed in the WebUi. In the displayed list of assignment blocks around 10 assignment blocks are th

  • Sort Order Column not Working

    I have set a sort order column on one of A VARCHAR field, but the functionality is not working. The sorting is enabled in the table view and when I sort by the said column it still sorts based on the VARCHAR values of the column instead of the other

  • No Print of the Customer Receivables Ageing Selection Criteria Page

    Hello. I would like to know how can I print the Customer Receivables Ageing / Supplier Liabilities Ageing Report without printing the selection criteria page, because when I try to print these reports I always get the selection criteria page. I've se

  • Depot stock updation problem in J1IDEPOTSTOCK1

    Dear Experts, I have done DEPOT to DEPOT STO process. I have captured goods receipt in the receiving plant without excise values and then posted Excise Invoice with ref to the material document generated in J1IG. The register RG23D is updated correct

  • Myfaces fileupload problem

    Dear All, I am using myfaces <t:inputFileUpload> < t:inputFileUpload storage="file" value="#{myBean.file}" required="true"/> <h:commandButton value="Submit" action="#{myBean.upload}"/> to upload file to a server. When I use localhost as the server (h