Import very long

I export a 8.1.7 database in full mode. It runs very quickly.
2 tables contains rowid columns.
The import full is very very long for the 2 tables.
Is there a reason and a way to avoid this ?

Thank you for your answer. I know export is faster than import. I'm using direct=true to improve import.
My question was : is there a way to explain why import so long with tables containing rowid columns. We have 1 table (37 000 000 rows) with 1 rowid column and the import is running since 7 days !!! Any idea ?
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Christo Pandakliev ([email protected]):
Hi
Export is much faster then import. It is normal. Import of a table is done on 3 stages. The first one is loading rows, the second one is building indexes and the last one is creating constraints. Usualy the second step is slowest. You can produce sql script for creating indexes and load data without indexes. After that you can create indexes in different order so part of your database will be in short time. You can think also about tunning sort operation.
Regards<HR></BLOCKQUOTE>
null

Similar Messages

  • Remote client copy (SCC9) runs a very long time!

    remote client copy (SCC9) runs a very long time!
    how to do it quickly process?
    (eg use imp and exp-oracle tool, as it can be done to understand what the SAP data has been copied and are now in a different location, for Developers)

    scn001 wrote:
    remote client copy (SCC9) runs a very long time!
    > how to do it quickly process?
    > (eg use imp and exp-oracle tool, as it can be done to understand what the SAP data has been copied and are now in a different location, for Developers)
    Hi,
    You can export the client, as well but it will take long time too, depended to your client size. Please note that client copy operation should be performed by standard SAP client management tools, such as client export/import or remote copy.
    Ask this question to SAP support first. Technically, you can choose many ways to copy a SAP client, but as far as I know that SAP will not support you (such as errors you faced during the client export/import or the problems related by the copy operation), if you use any other 3rd party tool while for the client copy purposes.
    Best regards,
    Orkun Gedik
    Edited by: Orkun Gedik on Jun 30, 2011 10:57 AM

  • Warning this is very long code but i need help to see if I am on right trac

    I have done all the following code myself and it is the buisiness layer for my application. I have tried to follow recommendations on previous posts and I would like to be told where I can clean up my code and how? This is not complete and it looks very long to me but I need help in order to be better. There are 4 button vlivks and I have not completed them all. The criteria for application is that phonebook will accept new entries if they have names surnames and phone numbers that are not longer than 10 characters for display purposes but can change this. No duplicates are allowed. No editing of a existing entry must lead to a duplicate entry either. No new entry or edit may result in a new contact having no phone numbers.
    Many thanks for your time in advance,.....
    import javax.swing.JOptionPane;
    import java.util.ArrayList;
    public class Contact
    {// Start of the Contact class
         ArrayList<ContactDetails> phoneList = new ArrayList<ContactDetails>();          // To hold all the contacts
         ArrayList<ContactDetails> searchList = new ArrayList<ContactDetails>();          // To hold all contacts that return true on search
         ArrayList<ContactDetails> list = new ArrayList<ContactDetails>();
         String newName;                                                                                // To hold the new name
         String newSurname;                                                                           // to hold the new surname
         String newHome;                                                                                // To hold the new home number if any
         String newWork;                                                                                // To hold the new work number
         String newCell;                                                                                // To hold the new cell number
         final int MAX_LENGTH = 10;
         public boolean addToPhoneList;                                                            // Sets to false if there is an invalid entry
         public boolean addToSearchList;                                                            // Sets to false if there is an invlid search
         public boolean modifyContact;                                                            // Sets to false if there is an invalid modification
         // Method to create a new contact
         public void createNew()
         {// Start of create new()
              addToPhoneList = true;                                                                 // Set boolean to true each time the method is executed
              getNewContactsName();                                                                 // Get new name
              if(addToPhoneList == false)
                   createNew();
                   return;
              getNewContactsSurname();                                                            //Get new surname
              if(addToPhoneList == false)
                   createNew();
                   return;
              String checkName = newName;                                                            //Creates copies to be used in the checkIfDuplicate method
              String checkSurname = newSurname;
              addToPhoneList = checkIfDuplicate(checkName, checkSurname);                    //Check if the entries are duplicate
              if(addToPhoneList == false)
                   createNew();
                   return;
              getNewContactsHomeNum();                                                            // Get new home number
              if(addToPhoneList == false)
                   createNew();
                   return;
              getNewContactsWorkNum();                                                            // Get new work number
              if(addToPhoneList == false)
                   createNew();
                   return;
              getNewContactsCellNum();                                                            // Get new cell number
              if(addToPhoneList == false)
                   createNew();
                   return;
              checkAtLeastOneNumEntered();                                                       // Check that at least one phone number was entered
              if(addToPhoneList == true)
                   updateListWithNew();
         }// End of createNew()
         // Method to search for an existing contact
         public void searchExisting()
         {// Start of searchExisting()
              addToSearchList = true;                                                                 // Set the boolean true
              searchList.clear();                                                                      // Clear list from any previous searches
              if(phoneList.size() > 0)                                                            // Check if any contacts are in the list
                   getExistingDetailsAndSearch();                                                  // If there are entries then continue to search
              else
                   JOptionPane.showMessageDialog(null,"There are no contacts to search for. Please use this option when you have added a contact to the list.","Error",JOptionPane.ERROR_MESSAGE);
         }// End of searchExisting()
         // Method to modify an existing contact
         public void modifyExisting()
         {// Start of modifyExisting()
              modifyContact = true;                                                                 // Set the boolean to true
              if(phoneList.size() <= 0)                                                            // Check if the phonelist is not empty
                   JOptionPane.showMessageDialog(null,"There are no contacts to modify. Please use this option when there have been contacts added to the list.","Error",JOptionPane.ERROR_MESSAGE);
              else
                   getExistingDetailsAndModify();                                                  // If phonelist not emty continue to modify method
         }// End of modifyExisting()
         //Method to delete a contact from the list
         public void deleteExisting()
         //Method to get new contacts name
         public void getNewContactsName()
              newName = JOptionPane.showInputDialog("Please enter the new contacts name or press cancel to exit without saving.");
              if(newName == null)
                   finish();
              if(newName.trim().length()<=0)
                   JOptionPane.showMessageDialog(null,"You have not entered a name. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
                   addToPhoneList = false;
                   return;
              addToPhoneList = checkLengthValid(newName, "name");
         //Method to get a new contacts surname
         public void getNewContactsSurname()
              newSurname = JOptionPane.showInputDialog("Please enter the new contacts surnname or press cancel to exit without saving.");
              if(newSurname == null)
                   finish();
              addToPhoneList = checkLengthValid(newSurname, "surname");
         //Method to get a new contacts home number
         public void getNewContactsHomeNum()
              newHome = JOptionPane.showInputDialog("Please enter the new contacts home number or press cancel to exit without saving.");
              if(newHome == null)
                   finish();
              if(newHome.trim().length() > 0)
                   try
                        Long homeNum = Long.parseLong(newHome);
                   catch(Exception e)
                        JOptionPane.showMessageDialog(null,"You may only use numbers for a valid phone number. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
                        addToPhoneList = false;
                        return;
              addToPhoneList = checkLengthValid(newHome, "home number");
         //Method to get a new contacst work number
         public void getNewContactsWorkNum()
              newWork = JOptionPane.showInputDialog("Please enter the new contacts work number or press cancel to exit without saving");
              if(newWork == null)
                   finish();
              if(newWork.trim().length()> 0)
                   try
                        Long workNum = Long.parseLong(newWork);
                   catch(Exception e)
                        JOptionPane.showMessageDialog(null,"You may only use numbers for a valid number. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
                        addToPhoneList = false;
                        return;
              addToPhoneList = checkLengthValid(newWork, "work number");
         //Method to get a new contacts cell number
         public void getNewContactsCellNum()
              newCell = JOptionPane.showInputDialog("Please enter the new contacts cell number or press cancel to exit without saving");
              if(newCell == null)
                   finish();
              if(newCell.trim().length() > 0)
                   try
                        Long cellNum = Long.parseLong(newCell);
                   catch(Exception e)
                        JOptionPane.showMessageDialog(null,"You may only use numbers for a valid number. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
                        addToPhoneList = false;
                        return;
              addToPhoneList = checkLengthValid(newCell, "cell number");
         //Method to get the details for an existing contact
         public void getExistingDetailsAndSearch()
              String existingName = getExistingName("search for");
              if(existingName == null)
                   addToSearchList = false;
                   return;
              if(existingName.length()<=0)
                   JOptionPane.showMessageDialog(null,"You have not entered a name please try again","Error",JOptionPane.ERROR_MESSAGE);
                   addToSearchList = false;
                   searchExisting();
              String existingSurname = getExistingSurname();
                   if(existingSurname == null)
                        return;
              if(addToSearchList == true)
                   searchAndAddIfFound(existingName, existingSurname);
         //Method to get existing details and modify contact
         public void getExistingDetailsAndModify()
              String existingName = getExistingName("modify");
              if(existingName == null)
                   modifyContact = false;
                   return;
              if(existingName.length()<=0)
                   JOptionPane.showMessageDialog(null,"You have not entered a name please try again","Error",JOptionPane.ERROR_MESSAGE);
                   modifyContact = false;
                   modifyExisting();
              String existingSurname = getExistingSurname();
                   if(existingSurname == null)
                        return;
              if(modifyContact == true)
                   getContactBySearch(existingName.trim().toUpperCase(), existingSurname.trim().toUpperCase());
         //Method to get the contact from list and modify details
         public void getContactBySearch(String currentName, String currentSurname)
              int count = 0;
              int numFound = 0;
              for(ContactDetails cd: phoneList)
                   cd = phoneList.get(count);
                   if((cd.name.equals(currentName))&&(cd.surname.equals(currentSurname)))
                        numFound ++;
                        changeDetails(cd);
                   count ++;
              if(numFound <= 0)
                   JOptionPane.showMessageDialog(null,"No contacts matching the name and surname you entered found. Press the modify button to try again.","Information",JOptionPane.INFORMATION_MESSAGE);
         //Method to get existing contacts name
         public String getExistingName(String whatWasClicked)
              String name = JOptionPane.showInputDialog("Please enter the contacts name that you wish to "+whatWasClicked);
              return name;
         //Method to get an existing contacts surname
         public String getExistingSurname()
              String surname = JOptionPane.showInputDialog("Please enter the contacts surname.");
              return surname;
         //Method to change the details of contact
         public void changeDetails(ContactDetails conToChange)
              String currentName = conToChange.name;
              String currentSurname = conToChange.surname;
              String currentHome = conToChange.home;
              String currentWork = conToChange.work;
              String currentCell = conToChange.cell;
              String newNameForContact = getNewModName(currentName);
              if(modifyContact == false)
                   modifyExisting();
                   return;
              String newSurnameForContact = getNewModSurname(currentSurname);
              if(modifyContact == false)
                   modifyExisting();
                   return;
              String newHomeForContact = getNewModHome(currentHome);
              if(modifyContact == false)
                   modifyExisting();
                   return;
              String newWorkForContact = getNewModWork(currentWork);
              if(modifyContact == false)
                   modifyExisting();
                   return;
              String newCellForContact = getNewModCell(currentCell);
              if(modifyContact == false)
                   modifyExisting();
                   return;
              if(modifyContact == true)
                   conToChange.name = newNameForContact;
         //Method to get the modified name
         public String getNewModName(String currentName)
              String newModifiedName = JOptionPane.showInputDialog("Please enter the new name for contact or press cancel to keep it as is.");
              if(newModifiedName == null)
                   return currentName;
              if(newModifiedName.trim().length() <= 0)
                   JOptionPane.showMessageDialog(null,"You may not replace the existing name with a blank name. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
                   modifyContact = false;
                   return currentName;
              modifyContact = checkLengthValid(newModifiedName, "modified name");
              return newModifiedName;
         //Method to get the modified surname
         public String getNewModSurname(String currentSurname)
              String newModifiedSurname = JOptionPane.showInputDialog("Please enter the new surname for the contact or press cancel to keep it as is.");
              if(newModifiedSurname == null)
                   return currentSurname;
              modifyContact = checkLengthValid(newModifiedSurname, "modified surname");
              if(modifyContact == false)
                   JOptionPane.showMessageDialog(null,"Surname not changed.","Information",JOptionPane.INFORMATION_MESSAGE);
                   return currentSurname;
              modifyContact = checkLengthValid(newModifiedSurname, "modified surname");
              return newModifiedSurname;
         //Method to search and update the list with a succesfull search
         private void searchAndAddIfFound(String name, String surname)
              int count = 0;
              int numFound = 0;
              for(ContactDetails cd: phoneList)
                   cd = phoneList.get(count);
                   if(cd.name.equals(name.trim().toUpperCase()))
                        numFound ++;
                        searchList.add(cd);
                   count ++;
              if(numFound <= 0)
                   JOptionPane.showMessageDialog(null,"No contacts were found matching the dat you entered.","Information",JOptionPane.INFORMATION_MESSAGE);
              else
                   list.clear();
                   list.addAll(searchList);
         //Method that check all entries are a valid logical length
         //Method is based on assumption that a normal name, surname, and phone numbers are not longer than 10 characters long.
         //IF This method is changed please change the layout in the GUI as this is also set to fit with the layout that gives a neat //apperance
         private boolean checkLengthValid(String detailEntered, String whatWasEntered)
              boolean validLength = true;
              if(detailEntered.trim().length() >= MAX_LENGTH)
                   JOptionPane.showMessageDialog(null,"The " +whatWasEntered+" you entered is too long. Please try again and use a "+whatWasEntered+" that is less than "+MAX_LENGTH+" characters long.","Error",JOptionPane.ERROR_MESSAGE);
                   validLength = false;
              return validLength;
         private void finish()
              System.exit(0);
         //Method to update the list with a new entry
         private void updateListWithNew()
              try
                   ContactDetails cd = new ContactDetails();
                   cd.name = newName.trim().toUpperCase();
                   cd.surname = newSurname.trim().toUpperCase();
                   cd.home = newHome.trim();
                   cd.work = newWork.trim();
                   cd.cell = newCell.trim();
                   phoneList.add(cd);
                   JOptionPane.showMessageDialog(null,"Contact succesfully entered. To save this change press exit to save or use the save option in the toolbar menu.","Information",JOptionPane.INFORMATION_MESSAGE);
              catch(Exception e)
                   JOptionPane.showMessageDialog(null,"Failed to add contact to list. If problem persists please contact the software developer.","Error",JOptionPane.ERROR_MESSAGE);
              list.clear();
              list.addAll(phoneList);
         //Method to check for duplicate
         public boolean  checkIfDuplicate(String nameToCheck, String surnameToCheck)
              int count = 0;
              boolean valid = true;
              for(ContactDetails cd : phoneList)
                   cd = phoneList.get(count);
                   if(((nameToCheck.trim().toUpperCase()).equals(cd.name))&&((surnameToCheck.trim().toUpperCase()).equals(cd.surname)))
                        JOptionPane.showMessageDialog(null,"You may not enter a duplicate contact. Please try again and change the name and surname.","Error",JOptionPane.ERROR_MESSAGE);
                        valid = false;
                        break;
                   count ++;
              return valid;
         //Method to check that at least one phone number exists for contact
         public void checkAtLeastOneNumEntered()
              if((newHome.trim().length()<=0)&&(newWork.trim().length()<=0)&&(newCell.trim().length()<=0))
                   JOptionPane.showMessageDialog(null,"You have not entered any phone number at all. You must enter at least one phone number for a new contact.","Error",JOptionPane.ERROR_MESSAGE);
                   addToPhoneList = false;
         //Method that returns the list to the GUI
         public ArrayList<ContactDetails> getList()
              return list;
    }

    Should I start over from scratch? Can I get help with links to tutorials on following? How to create a java CRUD application (google not useful) and how to layer in java(google not useful)
    This is my pres layer as is is this wrong too?
         Filename:     ContactsListInterface.java
         Date:           16 March 2008
         Programmer:     Yucca Nel
         Purpose:     Provides a GUI for entering names and contact numbers into a telephone directory.
                        Also allows options for searching for a specific name and deleting of data from the record
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    public class Phonebook1 extends JFrame implements ActionListener
    { //start of class
         // construct fields, buttons, labels,text boxes, ArrayLists etc
         JTextPane displayPane = new JTextPane();
         JLabel listOfContacts = new JLabel("List Of Contacts");               // creates a label for the scrollpane
         JButton createButton = new JButton("Create");
         JButton searchButton = new JButton("Search");
         JButton modifyButton = new JButton("Modify");
         JButton deleteButton = new JButton("Delete");
         Contact c = new Contact();
         ArrayList<ContactDetails> contactList = c.getList();
         // create an instance of the ContactsListInterface
         public Phonebook1()
         { // start of cli()
              super("Phonebook Interface");
         } // end of cli()
         public JMenuBar createMenuBar()
         { // start of the createMenuBar()
              // construct and populate a menu bar
              JMenuBar mnuBar = new JMenuBar();                              // creates a menu bar
              setJMenuBar(mnuBar);
              JMenu mnuFile = new JMenu("File",true);                         // creates a file menu in the menu bar which is visible
                   mnuFile.setMnemonic(KeyEvent.VK_F);
                   mnuFile.setDisplayedMnemonicIndex(0);
                   mnuFile.setToolTipText("File Options");
                   mnuBar.add(mnuFile);
              JMenuItem mnuFileExit = new JMenuItem("Save And Exit");     // creates an exit option in the file menu
                   mnuFileExit.setMnemonic(KeyEvent.VK_X);
                   mnuFileExit.setDisplayedMnemonicIndex(1);
                   mnuFileExit.setToolTipText("Close Application");
                   mnuFile.add(mnuFileExit);
                   mnuFileExit.setActionCommand("Exit");
                   mnuFileExit.addActionListener(this);
              JMenu mnuEdit = new JMenu("Edit",true);                         // creates a menu for editing options
                   mnuEdit.setMnemonic(KeyEvent.VK_E);
                   mnuEdit.setDisplayedMnemonicIndex(0);
                   mnuEdit.setToolTipText("Edit Options");
                   mnuBar.add(mnuEdit);
              JMenu mnuEditSort = new JMenu("Sort",true);                    // creates an option for sorting entries
                   mnuEditSort.setMnemonic(KeyEvent.VK_S);
                   mnuEditSort.setDisplayedMnemonicIndex(0);
                   mnuEdit.add(mnuEditSort);
              JMenuItem mnuEditSortByName = new JMenuItem("Sort By Name");          // to sort entries by name
                   mnuEditSortByName.setMnemonic(KeyEvent.VK_N);
                   mnuEditSortByName.setDisplayedMnemonicIndex(8);
                   mnuEditSortByName.setToolTipText("Sort entries by first name");
                   mnuEditSortByName.setActionCommand("Name");
                   mnuEditSortByName.addActionListener(this);
                   mnuEditSort.add(mnuEditSortByName);
              JMenuItem mnuEditSortBySurname = new JMenuItem("Sort By Surname");     // to sort entries by surname
                   mnuEditSortBySurname.setMnemonic(KeyEvent.VK_R);
                   mnuEditSortBySurname.setDisplayedMnemonicIndex(10);
                   mnuEditSortBySurname.setToolTipText("Sort entries by surname");
                   mnuEditSortBySurname.setActionCommand("Surname");
                   mnuEditSortBySurname.addActionListener(this);
                   mnuEditSort.add(mnuEditSortBySurname);
              JMenu mnuHelp = new JMenu("Help",true);                                        // creates a menu for help options
                   mnuHelp.setMnemonic(KeyEvent.VK_H);
                   mnuHelp.setDisplayedMnemonicIndex(0);
                   mnuHelp.setToolTipText("Help options");
                   mnuBar.add(mnuHelp);
              JMenuItem mnuHelpHelp = new JMenuItem("Help");                              // creates a help option for help topic
                   mnuHelpHelp.setMnemonic(KeyEvent.VK_P);
                   mnuHelpHelp.setDisplayedMnemonicIndex(3);
                   mnuHelpHelp.setToolTipText("Help Topic");
                   mnuHelpHelp.setActionCommand("Help");
                   mnuHelpHelp.addActionListener(this);
                   mnuHelp.add(mnuHelpHelp);
              JMenuItem mnuHelpAbout = new JMenuItem("About");                         // creates a about option for info about api
                   mnuHelpAbout.setMnemonic(KeyEvent.VK_T);
                   mnuHelpAbout.setDisplayedMnemonicIndex(4);
                   mnuHelpAbout.setToolTipText("About this program");
                   mnuHelpAbout.setActionCommand("About");
                   mnuHelpAbout.addActionListener(this);
                   mnuHelp.add(mnuHelpAbout);
              return mnuBar;
         } // end of the createMenuBar()
         // create the content pane
         public Container createContentPane()
         { // start of createContentPane()
              //construct and populate panels and content pane
              JPanel labelPanel = new JPanel(); // panel is only used to put the label for the textpane in
                   labelPanel.setLayout(new FlowLayout());
                   labelPanel.add(listOfContacts);
              JPanel displayPanel = new JPanel();// panel is used to display all the contacts and thier numbers
                   setTabsAndStyles(displayPane);
                   displayPane = addTextToTextPane();
                   displayPane.setEditable(false);
              JScrollPane scrollPane = new JScrollPane(displayPane);
                   scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); // pane is scrollable vertically
                   scrollPane.setWheelScrollingEnabled(true);// pane is scrollable by use of the mouse wheel
                   scrollPane.setPreferredSize(new Dimension(400,320));
              displayPanel.add(scrollPane);
              JPanel workPanel = new JPanel();// panel is used to enter, edit and delete data
                   workPanel.setLayout(new FlowLayout());
                   workPanel.add(createButton);
                        createButton.setToolTipText("Create a new entry");
                        createButton.addActionListener(this);
                   workPanel.add(searchButton);
                        searchButton.setToolTipText("Search for an entry by name number or surname");
                        searchButton.addActionListener(this);
                   workPanel.add(modifyButton);
                        modifyButton.setToolTipText("Modify an existing entry");
                        modifyButton.addActionListener(this);
                   workPanel.add(deleteButton);
                        deleteButton.setToolTipText("Delete an existing entry");
                        deleteButton.addActionListener(this);
              labelPanel.setBackground(Color.red);
              displayPanel.setBackground(Color.red);
              workPanel.setBackground(Color.red);
              // create container and set attributes
              Container c = getContentPane();
                   c.setLayout(new BorderLayout(30,30));
                   c.add(labelPanel,BorderLayout.NORTH);
                   c.add(displayPanel,BorderLayout.CENTER);
                   c.add(workPanel,BorderLayout.SOUTH);
                   c.setBackground(Color.red);
              // add a listener for the window closing and save
              addWindowListener(
                   new WindowAdapter()
                        public void windowClosing(WindowEvent e)
                             int answer = JOptionPane.showConfirmDialog(null,"Are you sure you would like to save all changes and exit?","File submission",JOptionPane.YES_NO_OPTION);
                             if(answer == JOptionPane.YES_OPTION)
                                  System.exit(0);
              return c;
         } // end of createContentPane()
         protected void setTabsAndStyles(JTextPane displayPane)
         { // Start of setTabsAndStyles()
              // set Font style
              Style fontStyle = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
              Style regular = displayPane.addStyle("regular", fontStyle);
              StyleConstants.setFontFamily(fontStyle, "SansSerif");
              Style s = displayPane.addStyle("bold", regular);
              StyleConstants.setBold(s,true);
         } // End of setTabsAndStyles()
         public JTextPane addTextToTextPane()
         { // start of addTextToTextPane()
              int numberOfEntries = contactList.size();
              int count = 0;
              Document doc = displayPane.getDocument();
              try
              { // start of tryblock
                   // clear previous text
                   doc.remove(0,doc.getLength());
                   // insert titles of columns
                   doc.insertString(0,"NAME\tSURNAME\tHOME NO\tWORK NO\tCELL NO\n",displayPane.getStyle("bold"));
                   for(ContactDetails cd : contactList)
                        cd = contactList.get(count);
                        doc.insertString(doc.getLength(),cd.name+"\t"+cd.surname+"\t"+cd.home+"\t"+cd.work+"\t"+cd.cell+"\n",displayPane.getStyle("regular"));
                        count ++;
              } // end of try block
              catch(BadLocationException ble)
              { // start of ble exception handler
                   System.err.println("Could not insert text.");
              } // end of ble exception handler
              return displayPane;
         } // end of addTextToTextPane()
         // code to process user clicks
         public void actionPerformed(ActionEvent e)
         { // start of actionPerformed()
              String arg = e.getActionCommand();
              // user clicks create button
              if(arg.equals("Create"))
                   c.createNew();                                                  // method to create a new Contact
                   addTextToTextPane();
              if(arg.equals("Search"))
                   c.searchExisting();                                             // method to search for an existing entry
                   addTextToTextPane();
              if(arg.equals("Modify"))
                   c.modifyExisting();                                             // method to modify contact
                   addTextToTextPane();
              if(arg.equals("Delete"))
                   c.deleteExisting();
                   addTextToTextPane();
              if(arg.equals("Exit"))
         } // end of actionPerformed()
         // method to create a new contact
         public static void main(String[] args)
         { // start of main()
              // Set look and feel of interface
              try
              { // start of try block
                   UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
              } // end of try block
              catch(Exception e)
              { // start of catch block
                   JOptionPane.showMessageDialog(null,"There was an error in setting the look and feel of this application","Error",JOptionPane.INFORMATION_MESSAGE);
              } // end  of catch block
              Phonebook1 pb = new Phonebook1();
              pb.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
              pb.setJMenuBar(pb.createMenuBar());
              pb.setContentPane(pb.createContentPane());
              pb.setSize(520,500);
              pb.setVisible(true);
              pb.setResizable(false);
         } // end of main()
    } //end of class

  • I got a new laptop (Macbook Pro) and my IPhone is synced with my previous laptop. I've recorded dozens of very long (un-emailable) Voice Memos over the last few weeks and need to get them from my IPhone onto my new laptop. How do I do this?

    I got a new laptop (Macbook Pro) and my IPhone is synced with my previous laptop (which I no longer have). I've recorded dozens of very long (un-emailable) Voice Memos over the last few weeks and need to get them from my IPhone onto my new laptop.
    How do I do this?
    (when I click on the Sync option I get the warning: "Are you sure you want to sync music? All existing songs and playlists on the iPhone will be replaced with songs and playlists from your iTunes library." I fear that if I click this I will lose all of my important Voice Memos as well)

    Just to add to what ChrisJ4203 said.  You can sync them to your new computer using iTunes by selecting to Include Voice Memos on the Music tab of your iTunes sync settings and syncing.  However, you still need to re-establish syncing with the new computer without iTunes erasing all the iTunes media from your phone (as the warning mentioned).
    If you copy your entire iTunes folder (not just your music) from your old computer to your new one, along with other non-iTunes media you may be syncing with iTunes (such as contacts, calendars and any photos synced to your phone from your old computer) by using migration assistant of following one of these methods: http://support.apple.com/kb/HT4527, then when you sync again with your new computer it will recognize your phone and sync as it did before.  You will still have to authorize the new computer for any Apple IDs used to purchase from the iTunes and App stores (in iTunes>Store>Authorize this computer). 
    After that you can sync your voice memos to your computer as mentioned earlier.
    If you want to archive your voice memos before you do anything with iTunes, you can use a 3rd party program such as PhoneView or Touch Copy.

  • HT2506 I use Preview to edit photos, and would like to know if there are any Preview updates in the works. I find there is a problem with Preview crashing, or taking a very long time to "catch up" (spinning beachball of death) while I'm editing.

    I use Preview to edit photos, and would like to know if there are any updates to this program in the works. It seems Apple is constantly updating its software, except for Preview. I find it crashes all too often, and also takes forever to "catch up" with me (as in spinning beachball of death) when I'm editing a lrge amount of photos. Yes, I know I should be using Photoshop or somesuch, but it's just too **** confusing, and I don't have the time to figure it out. Thanks!!

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Launching Browser from Java when Browser URL is very  long

    Hi,
    I am trying to launch a browser from Java.
    I am doing the following.
    String command = "cmd" + "/c" + "start" + " browserURL";
    Process p = Runtime.getRuntime()exec(command);
    Note: My browserURL is very long.
    Now the browser is invoked. But the URL shown is incomplete and hence
    browser is unable to open the required application.
    Can someone help me in this.
    One way is to increase the buffer size on the command prompt?
    Is there any java command for this?
    Is there any other way to solve this issue.
    Thanks,
    AR

    this is my second time posting this, take note of it. I can't remember where i got it from, but credits go to the person that wrote it. It has helped me out thousands of times!!!
    to use, compile, then call from your program:
    org.newio.utils.BrowserLauncher.openURL("your url here")dfwtc
    package org.newio.utils;
    import java.io.File;
    import java.io.IOException;
    import java.lang.reflect.*;
    public class BrowserLauncher
        private static int jvm;
        private static Object browser;
        private static boolean loadedWithoutErrors;
        private static Class mrjFileUtilsClass;
        private static Class mrjOSTypeClass;
        private static Class macOSErrorClass;
        private static Class aeDescClass;
        private static Constructor aeTargetConstructor;
        private static Constructor appleEventConstructor;
        private static Constructor aeDescConstructor;
        private static Method findFolder;
        private static Method getFileType;
        private static Method makeOSType;
        private static Method putParameter;
        private static Method sendNoReply;
        private static Object kSystemFolderType;
        private static Integer keyDirectObject;
        private static Integer kAutoGenerateReturnID;
        private static Integer kAnyTransactionID;
        private static final int MRJ_2_0 = 0;
        private static final int MRJ_2_1 = 1;
        private static final int WINDOWS_NT = 2;
        private static final int WINDOWS_9x = 3;
        private static final int OTHER = -1;
        private static final String FINDER_TYPE = "FNDR";
        private static final String FINDER_CREATOR = "MACS";
        private static final String GURL_EVENT = "GURL";
        private static final String FIRST_WINDOWS_PARAMETER = "/c";
        private static final String SECOND_WINDOWS_PARAMETER = "start";
        private static final String NETSCAPE_OPEN_PARAMETER_START = " -remote 'openURL(";
        private static final String NETSCAPE_OPEN_PARAMETER_END = ")'";
        private static String errorMessage;
        private BrowserLauncher()
        private static boolean loadClasses()
            switch(jvm)
            default:
                break;
            case 0: // '\0'
                try
                    Class aeTargetClass = Class.forName("com.apple.MacOS.AETarget");
                    macOSErrorClass = Class.forName("com.apple.MacOS.MacOSError");
                    Class osUtilsClass = Class.forName("com.apple.MacOS.OSUtils");
                    Class appleEventClass = Class.forName("com.apple.MacOS.AppleEvent");
                    Class aeClass = Class.forName("com.apple.MacOS.ae");
                    aeDescClass = Class.forName("com.apple.MacOS.AEDesc");
                    aeTargetConstructor = aeTargetClass.getDeclaredConstructor(new Class[] {
                        Integer.TYPE
                    appleEventConstructor = appleEventClass.getDeclaredConstructor(new Class[] {
                        Integer.TYPE, Integer.TYPE, aeTargetClass, Integer.TYPE, Integer.TYPE
                    aeDescConstructor = aeDescClass.getDeclaredConstructor(new Class[] {
                        java.lang.String.class
                    makeOSType = osUtilsClass.getDeclaredMethod("makeOSType", new Class[] {
                        java.lang.String.class
                    putParameter = appleEventClass.getDeclaredMethod("putParameter", new Class[] {
                        Integer.TYPE, aeDescClass
                    sendNoReply = appleEventClass.getDeclaredMethod("sendNoReply", new Class[0]);
                    Field keyDirectObjectField = aeClass.getDeclaredField("keyDirectObject");
                    keyDirectObject = (Integer)keyDirectObjectField.get(null);
                    Field autoGenerateReturnIDField = appleEventClass.getDeclaredField("kAutoGenerateReturnID");
                    kAutoGenerateReturnID = (Integer)autoGenerateReturnIDField.get(null);
                    Field anyTransactionIDField = appleEventClass.getDeclaredField("kAnyTransactionID");
                    kAnyTransactionID = (Integer)anyTransactionIDField.get(null);
                    break;
                catch(ClassNotFoundException cnfe)
                    errorMessage = cnfe.getMessage();
                    return false;
                catch(NoSuchMethodException nsme)
                    errorMessage = nsme.getMessage();
                    return false;
                catch(NoSuchFieldException nsfe)
                    errorMessage = nsfe.getMessage();
                    return false;
                catch(IllegalAccessException iae)
                    errorMessage = iae.getMessage();
                return false;
            case 1: // '\001'
                try
                    mrjFileUtilsClass = Class.forName("com.apple.mrj.MRJFileUtils");
                    mrjOSTypeClass = Class.forName("com.apple.mrj.MRJOSType");
                    Field systemFolderField = mrjFileUtilsClass.getDeclaredField("kSystemFolderType");
                    kSystemFolderType = systemFolderField.get(null);
                    findFolder = mrjFileUtilsClass.getDeclaredMethod("findFolder", new Class[] {
                        mrjOSTypeClass
                    getFileType = mrjFileUtilsClass.getDeclaredMethod("getFileType", new Class[] {
                        java.io.File.class
                    break;
                catch(ClassNotFoundException cnfe)
                    errorMessage = cnfe.getMessage();
                    return false;
                catch(NoSuchFieldException nsfe)
                    errorMessage = nsfe.getMessage();
                    return false;
                catch(NoSuchMethodException nsme)
                    errorMessage = nsme.getMessage();
                    return false;
                catch(SecurityException se)
                    errorMessage = se.getMessage();
                    return false;
                catch(IllegalAccessException iae)
                    errorMessage = iae.getMessage();
                return false;
            return true;
        private static Object locateBrowser()
            if(browser != null)
                return browser;
            switch(jvm)
            case 0: // '\0'
                try
                    Integer finderCreatorCode = (Integer)makeOSType.invoke(null, new Object[] {
                        "MACS"
                    Object aeTarget = aeTargetConstructor.newInstance(new Object[] {
                        finderCreatorCode
                    Integer gurlType = (Integer)makeOSType.invoke(null, new Object[] {
                        "GURL"
                    Object appleEvent = appleEventConstructor.newInstance(new Object[] {
                        gurlType, gurlType, aeTarget, kAutoGenerateReturnID, kAnyTransactionID
                    return appleEvent;
                catch(IllegalAccessException iae)
                    browser = null;
                    errorMessage = iae.getMessage();
                    return browser;
                catch(InstantiationException ie)
                    browser = null;
                    errorMessage = ie.getMessage();
                    return browser;
                catch(InvocationTargetException ite)
                    browser = null;
                    errorMessage = ite.getMessage();
                    return browser;
            case 1: // '\001'
                File systemFolder;
                try
                    systemFolder = (File)findFolder.invoke(null, new Object[] {
                        kSystemFolderType
                catch(IllegalArgumentException iare)
                    browser = null;
                    errorMessage = iare.getMessage();
                    return browser;
                catch(IllegalAccessException iae)
                    browser = null;
                    errorMessage = iae.getMessage();
                    return browser;
                catch(InvocationTargetException ite)
                    browser = null;
                    errorMessage = ite.getTargetException().getClass() + ": " + ite.getTargetException().getMessage();
                    return browser;
                String systemFolderFiles[] = systemFolder.list();
                for(int i = 0; i < systemFolderFiles.length; i++)
                    try
                        File file = new File(systemFolder, systemFolderFiles);
    if(file.isFile())
    Object fileType = getFileType.invoke(null, new Object[] {
    file
    if("FNDR".equals(fileType.toString()))
    browser = file.toString();
    return browser;
    catch(IllegalArgumentException iare)
    browser = browser;
    errorMessage = iare.getMessage();
    return null;
    catch(IllegalAccessException iae)
    browser = null;
    errorMessage = iae.getMessage();
    return browser;
    catch(InvocationTargetException ite)
    browser = null;
    errorMessage = ite.getTargetException().getClass() + ": " + ite.getTargetException().getMessage();
    return browser;
    browser = null;
    break;
    case 2: // '\002'
    browser = "cmd.exe";
    break;
    case 3: // '\003'
    browser = "command.com";
    break;
    case -1:
    default:
    browser = "netscape";
    break;
    return browser;
    public static void openURL(String url)
    throws IOException
    if(!loadedWithoutErrors)
    throw new IOException("Exception in finding browser: " + errorMessage);
    Object browser = locateBrowser();
    if(browser == null)
    throw new IOException("Unable to locate browser: " + errorMessage);
    switch(jvm)
    case 0: // '\0'
    Object aeDesc = null;
    try
    try
    aeDesc = aeDescConstructor.newInstance(new Object[] {
    url
    putParameter.invoke(browser, new Object[] {
    keyDirectObject, aeDesc
    sendNoReply.invoke(browser, new Object[0]);
    catch(InvocationTargetException ite)
    throw new IOException("InvocationTargetException while creating AEDesc: " + ite.getMessage());
    catch(IllegalAccessException iae)
    throw new IOException("IllegalAccessException while building AppleEvent: " + iae.getMessage());
    catch(InstantiationException ie)
    throw new IOException("InstantiationException while creating AEDesc: " + ie.getMessage());
    break;
    finally
    aeDesc = null;
    browser = null;
    case 1: // '\001'
    Runtime.getRuntime().exec(new String[] {
    (String)browser, url
    break;
    case 2: // '\002'
    case 3: // '\003'
    Runtime.getRuntime().exec(new String[] {
    (String)browser, "/c", "start", url
    break;
    case -1:
    Process process = Runtime.getRuntime().exec((String)browser + " -remote 'openURL(" + url + ")'");
    try
    int exitCode = process.waitFor();
    if(exitCode != 0)
    Runtime.getRuntime().exec(new String[] {
    (String)browser, url
    catch(InterruptedException ie)
    throw new IOException("InterruptedException while launching browser: " + ie.getMessage());
    break;
    default:
    Runtime.getRuntime().exec(new String[] {
    (String)browser, url
    break;
    static
    loadedWithoutErrors = true;
    String osName = System.getProperty("os.name");
    if("Mac OS".equals(osName))
    String mrjVersion = System.getProperty("mrj.version");
    String majorMRJVersion = mrjVersion.substring(0, 3);
    try
    double version = Double.valueOf(majorMRJVersion).doubleValue();
    if(version == 2D)
    jvm = 0;
    } else
    if(version >= 2.1000000000000001D)
    jvm = 1;
    } else
    loadedWithoutErrors = false;
    errorMessage = "Unsupported MRJ version: " + version;
    catch(NumberFormatException numberformatexception)
    loadedWithoutErrors = false;
    errorMessage = "Invalid MRJ version: " + mrjVersion;
    } else
    if(osName.startsWith("Windows"))
    if(osName.indexOf("9") != -1)
    jvm = 3;
    } else
    jvm = 2;
    } else
    jvm = -1;
    if(loadedWithoutErrors)
    loadedWithoutErrors = loadClasses();
    suck my balls

  • Drag and drop very long password from host MacBook to guest iPod Touch?

    Hi,
    iPod Touch 64GB Software version 3.1.2. MacBook as in signature.
    When I built my home wireless network, I chose a very long and complex password (63 characters) to protect the access to my network. Once the passphrase was randomly chosen, it was no problem to copy/paste it from the MacBook to the wireless router. The key is WPA (AES, TKIP)
    But now, with the iPod i've just purchased, I have found no way to achieve that kind of transfer. I have tried to type the password manually into the iPod, but in spite of several very careful attempts, no success.
    Please, two questions:
    - does the iPod operating system support that kind of key? (WPA -AES,TKIP).
    - if it does, is there any way I can copy it from the MacBook, and somehow paste it in the iPod, at the required location? Or any other way to "sync" the iPod so that it imports and remembers the password?
    I know that a work around would be either to cancel encryption in my home network, or to change the password to something much more simple. I could do that, but that's the last ditch. I am not security obsessive compulsive, but the amount of private users networks around me are so many, and all of them are encrypted. There must be a reason for that
    Thanks in advance,
    Charly

    Nearly three months with no response? I'm facing the very same issue. The fundamental problem is the inability to enter funky characters (backtick/grave accent, pipe/vertical bar, tilde, etc) in the Wifi password box.
    Two possible solutions I can offer:
    1) Enter the password in the Mail app, then copy/paste to the Wifi password box.
    a. Go to the Mail application
    b. Select the To or CC field
    c. Press "123" access the non-alpha keys, then "#+=" to get access to grave accent (`), pipe (|), curly braces ({}), and tilde (~).
    d. It's easiest to do the actual composition in the body of the email, so copy your funky characters from the To:/CC: field regularly.
    d. When you're done, select all the characters, copy, and paste into the Wifi password box.
    2) Email yourself the password and temporarily use a simple password on your network to retrieve said email from the Touch. Copy and paste the password into the Wifi password box.

  • After installing Lion my time machine using a Time capsule backups take a very long time, particularly indexing the back up, does any one know why and a fix?

    I have installed Lion over Snow Leopard and noticed a marked increase in the time it takes my time capsule/time machine to back up.  It seems to spend a very long time indexing the back up.  Does any one know why and more importantly is there a "fix"?

    The first index with Lion takes a very long time.  Could take over 10 hours.  You just have to wait.  You can see the progress by opening Console and entering backupd in the search box

  • Very long (10min+) logon time on clients

    Hi!
    Around 2 weeks ago our employees started to report that some macbooks/imac's (with maverick ob board) have very long logon time - 10min+ "spinning wheel" after home sync.
    Issue is related only to couple of client machines. Upgrade from Maverick To Yosemite fix the issue, but only for couple of days! Then issue re-occuring on the machines again. It's not related to the mobile profile, sync is very fast, "spinning wheel" appear after the sync and spiining for another 10+ minutes.
    Our infrastructure:
    - OS X Maverick (10.9.4) + Server 3.1.2
    - clients machines - 30+ machines, maverick and couple of yosemites.
    - Open Directory/File Sharing/Profile Manager on Server
    - Mobile Profiles on clients with enabled syncing during logon/logoff only.
    I noticed those errors during the "spinning wheel" (log gathere on server, not client):
    Nov 13 11:10:28 odmaster.OURDOMAIN.com kdc[54]: TGS-REQ [email protected] from 192.168.1.232:56766 for host/[email protected] [canonicalize, forwardable]
    Nov 13 11:10:28 odmaster.OURDOMAIN.com kdc[54]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
    Nov 13 11:10:28 odmaster.OURDOMAIN.com kdc[54]: TGS-REQ [email protected] from 192.168.1.232:54978 for krbtgt/[email protected] [forwardable]
    Nov 13 11:10:28 odmaster.OURDOMAIN.com kdc[54]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
    Nov 13 11:10:29 odmaster.OURDOMAIN.com kdc[54]: TGS-REQ [email protected] from 192.168.1.232:63166 for host/[email protected] [canonicalize, forwardable]
    Nov 13 11:10:29 odmaster.OURDOMAIN.com kdc[54]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
    Nov 13 11:10:29 odmaster.OURDOMAIN.com kdc[54]: TGS-REQ [email protected] from 192.168.1.232:51181 for krbtgt/[email protected] [forwardable]
    Nov 13 11:10:29 odmaster.OURDOMAIN.com kdc[54]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
    Nov 13 11:16:32 odmaster.OURDOMAIN.com kdc[54]: TGS-REQ [email protected] from 192.168.1.232:54374 for host/[email protected] [canonicalize, forwardable]
    Nov 13 11:16:32 odmaster.OURDOMAIN.com kdc[54]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
    Nov 13 11:16:32 odmaster.OURDOMAIN.com kdc[54]: TGS-REQ [email protected] from 192.168.1.232:50691 for krbtgt/[email protected] [forwardable]
    Nov 13 11:16:32 odmaster.OURDOMAIN.com kdc[54]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
    Nov 13 11:16:33 odmaster.OURDOMAIN.com kdc[54]: TGS-REQ [email protected] from 192.168.1.232:58251 for host/[email protected] [canonicalize, forwardable]
    Nov 13 11:16:33 odmaster.OURDOMAIN.com kdc[54]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
    Nov 13 11:16:33 odmaster.OURDOMAIN.com kdc[54]: TGS-REQ [email protected] from 192.168.1.232:53871 for krbtgt/[email protected] [forwardable]
    Nov 13 11:16:33 odmaster.OURDOMAIN.com kdc[54]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
    Nov 13 11:16:32 odmaster.OURDOMAIN.com kdc[54]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
    Nov 13 11:16:32 odmaster.OURDOMAIN.com kdc[54]: TGS-REQ [email protected] from 192.168.1.232:50691 for krbtgt/[email protected] [forwardable]
    Nov 13 11:16:32 odmaster.OURDOMAIN.com kdc[54]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
    Nov 13 11:16:33 odmaster.OURDOMAIN.com kdc[54]: AS-REQ [email protected] from 192.168.1.232:64393 for krbtgt/[email protected]
    Nov 13 11:16:33 --- last message repeated 1 time ---
    Nov 13 11:16:33 odmaster.OURDOMAIN.com kdc[54]: AS-REQ [email protected] from 192.168.1.232:65181 for krbtgt/[email protected]
    Nov 13 11:16:33 --- last message repeated 1 time ---
    Please advise. We would like to not upgrade/migrate to Yosemite for now.

    Many Open Directory problems can be resolved by taking the following steps. Test after each one, and back up all data before making any changes.
    1. The OD master must have a static IP address on the local network, not a dynamic address.
    2. You must have a working DNS service, and the server's hostname must match its fully-qualified domain name. To confirm, select the server by name in the sidebar of the Server application window, then select the Overview tab. Click the Edit button on the Host Name line. On the Accessing your Server sheet, Domain Name should be selected. Change the Host Name, if necessary. The server must have at least a three-level name (e.g. "server.yourdomain.com"), and the name must not be in the ".local" top-level domain, which is reserved for Bonjour.
    3. The primary DNS server used by the server must be itself, unless you're using another server for internal DNS. The only DNS server set on the clients should be the internal one, which they should get from DHCP if applicable.
    4. Follow these instructions to rebuild the Kerberos configuration on the master.
    5. If you use authenticated binding, check the validity of the master's certificate. The common name must match the hostname and domain name. Deselecting and then reselecting the certificate in Server.app has been reported to have an effect in some cases. Otherwise delete all certificates and create new ones.
    6. Unbind and then rebind the clients in the Users & Groups preference pane. Use the fully-qualified domain name of the master.
    7. Reboot the master and the clients.
    8. Don't log in to the server with a network user's account.
    9. Disable any internal firewalls in use, including third-party "security" software.
    10. If you've created any replica servers, delete them.
    11. As a last resort, export all OD users. In the Open Directory pane of Server, delete the OD server. Then recreate it and import the users. Ensure that the UID's are in the 1001+ range.
    If you get this far without solving the problem, then you'll need to examine the logs in the Open Directory section of the log list in the Server app, and also the system log on the clients.

  • IPad battery taking a very long time (2 days) to charge

    The battery on my iPad 3 has started taking a very long time to charge.  If I leave it plugged in overnight (about 8-10 hours) it will gain about 20-30%.  It takes about 2 full days to charge fully.  I am using the supplied 12W adapter plugged into the wall and I've tried charging it while the iPad is turned off in case something was running and draining the battery but it didn't make much difference.
    I assume the battery has just got to a point where it's getting old (although it still lasts a reasonable amount of time once it is charged) but is there anything I can do (short of getting the battery replaced) to help improve the charging time.

    I am having the exact same problem. I am using Pages '09 on my Mac. When I emailed myself a Pages file and attempted to open it on my iPad 2 (running iOS 5 beta), it switched over to the Pages app and then the white bar stopped at around what looked to be 3-4% complete.
    I tried uploading to Dropbox first, then importing to Pages from there, but I get the exact same result. Please help.

  • Synchronisation ipad with itunes lasts very long time

    It takes very long time (> 1 hour) to "finish synch" my Ipod with itunes.
    Can somebody help?

    I am having the exact same problem. I am using Pages '09 on my Mac. When I emailed myself a Pages file and attempted to open it on my iPad 2 (running iOS 5 beta), it switched over to the Pages app and then the white bar stopped at around what looked to be 3-4% complete.
    I tried uploading to Dropbox first, then importing to Pages from there, but I get the exact same result. Please help.

  • Why is it that it would take a very long time [if ever] to change or adjust the tempo of a loop in the audio track when i set it to adjust regions to locators? Until now the spinning wheel of death is still very much spinning. thanks for any help.   Is th

    Why is it that it would take a very long time [if ever] to change or adjust the tempo of a loop in the audio track when i set it to adjust regions to locators? Until now the spinning wheel of death is still very much spinning. thanks for any help.
    Is there another way to adjust tempo of loops the faster way, any other technique?

    No clue why the final processes have suddenly started to take so long. Two things I'd try: a) capture from an older tape to see if some problem with the new tape is at fault.  And b) check the health of your RAM and the hard drive.
    The red frame sounds a bit like a glitch we used to have in OnLocation (actually in its predecessor HDV Rack) which was caused by a partial GOP. But that was a product of HDV Rack recording from the live video stream. It turned out that HDV cameras intentionally interrupt the data stream for an instant upon starting to record--specifically to avoid recording a partial GOP to tape. So my gut says that the tape has partial GOPs at the points where you stopped/started recording.

  • Can these things be customized? [Very long]

    Good day all!
    First I would like to say thank you for everyone who consistently roams these forums to help new users! I have learned a lot by visiting discussions every other day at least for a long time!
    I have been using Macs for a year now and still find navigation to be frustrating and counter-productive on several occasions.
    Next I would like to say that if my questions annoy you or you think that I should search through all previous discussions for an answer to my problems, please don't respond. I would like to invite you to go help the next user with their problems. I've been computing for at least 15 years, so I know what to expect! And in my experience, that kind of post is akin to trolling. I know that there may be a multitude of responses about some of the things I would like help with. But the whole purpose for starting this discussion is to get help for me exactly where I am with several features, not to be sent on an easter egg hunt through the rest of the forum to piece everything together. I'm really very busy! And I will continue studying on my own every other day, as I have been for a long time.
    On the flip side, I am not trying to be rude at all! I am sincerely asking for help and constructive suggestions/advice from a power user's perspective about how to adjust some things with my interface if possible! And I will be very very thankful if you can help!
    I use Macs for business purpose and pleasure, so this is a professional concern and a personal quest!
    So if you're still reading at this point, thank you for your patience!!! Your tenacity is admirable.
    Ok, so I have a list of features that I will admit come from having used Windows-based PCs for a very very long time, but they are much more efficient then what I have been able to do on OS X.
    [My tech profile]
    Intermediate User (Mac), Power User (Windows) [I know, I know... Spare me. x.x]
    System: Macbook Pro, Order number MGXC2LL/A (Currently, the big one... Mid-2014)
    Using OSX v10.9.5. I understand that Yosemite is available but I am concerned about updating because I am also using bootcamp with Windows 7 installed for personal, professional and educational use. I definitely make my machines work for me. (Starting another discussion about THAT concern though.)
    So finally, my questions.
    I have run into several interface annoyances and I would like to know about the following things. If anyone has any advice at all about how to customize these features, thank you in advance! (Note: I don't mind links to other posts at all! Please do so if you know a great discussion for exactly what I am experiencing.. If not, please just give whatever advice you can.)
    Trackpad sensitivity: I've gone to System Preferences > Trackpad for adjustments but its just not helping as I had hoped.
    Experiencing false touch due to heat sensitivity. Several times a day I will be programming or surfing and my cursor will jump to where the mouse indicator is on the screen if I get within an inch or two of the trackpad. If I am not watching then sometimes I will end up punching characters into a random line far away from where they're supposed to be. Then I have to go through the long process of deleting, moving, adjusting unexpected typos, making sure the code is still rendering and then typing everything all over again on the correct line. Anyway to adjust the calibration?
    I'm used to pinpoint accuracy when navigating with my high dpi pc mouse, so this may be a difficult one to explain... I touch the trackpad and move my finger and it works, but it feels like sensitivity maxed out is variable depending on the speed that I move my finger. So if I quickly move a centimeter it launches halfway across the screen. If I slowly move it, it barely moves. The variation is incredibly annoying at times because I'm used to navigating rapidly. It I turn the sensitivity down then movement is terrible, if I turn it up, it seems to move more rapidly only when I move my finger quickly, which is also frustrating because I can't accurately go to the exact point I want to without moving slow regardless of sensitivity. Maybe this is also due to OSX's calibration method/"philosophy"? I have also used the wire mouse on my Mac (Desktop) and it seems to work the same way even though its a completely different input method. Any suggestions? Maybe I should just install a Razer on my laptop and let those drivers determine how it operates? (Thats what I use on my PC.)
    Is there anyway to toggle the trackpad on and off? I have not checked into this yet beyond System Preferences > Trackpad, but it would be very helpful when programming or writing.
    Interface issues: There are several organization/navigational features that I use heavily in Windows. The lack thereof makes it difficult to enjoy the OSX interface at times... Sure you can say "Oh, you'll get used to it," but the fact of the matter is getting used to a different interface should at least enable me to be as productive as I would be on a Windows computer. I don't think getting used to these particulars would accomplish that.
    Please advise me about how to customize a faster way to access media files! (I suppose I could create shortcuts in different directories, but... Ugh!) Is there an easier method or some way to rearrange the way that directories are organized in general so that I don't have to click desktop > click go > click home just to find my media files? Is there a way to make them accessible from the Finder Sidebar when navigating other directories? I need full access to commonly used directories if possible! Not just a certain level of my computer system without clicking "Go."
    Is there an easy way to launch a directory in a second Finder window? Absolutely hate when I click a directory and it opens in the same window. Especially considering that you have to actually drag items to a different directory to move them without shortcut keys. Extra steps are not cool. (Like dragging a folder to your desktop so you can open a new directory to drag it to in the same Finder window. Very redundant and counter-productive.)
    Anyway to manually add a cut/paste-like function to the right-click menu? Would solve a lot of my organization challenges. (Not afraid of tweaking system files or downloading scripts/programs to accomplish this.)
    These are the things that have contributed to productivity challenges the most for me. Not really a lot, but still frustrating.
    Thank you for reading and any advice you may have! Even if its only about one or two things. Anything helps.

    Kurt Lang wrote:
    Is there a way to make them accessible from the Finder Sidebar when navigating other directories? I need full access to commonly used directories if possible!
    Yes. With any sidebar open, have the parent folder of the folder you want on the sidebar open. Now just drag and drop the folder you want on the sidebar under the Favorites heading, and above Devices. Make sure one of the other favorites already listed isn't highlighted as you let go of the mouse, or the OS will presume you want to copy the folder there. A new shortcut with that folder name should be added to the list. To remove any favorite, drag it off the sidebar over the desktop, wait a moment and let go.
    Is there an easy way to launch a directory in a second Finder window? Absolutely hate when I click a directory and it opens in the same window.
    That one is a huge bone of contention. Apple changed that behavior beginning with Mavericks so you can't do that if the sidebar or toolbar is showing. At least not the way it used to work before 10.9.x. To force a nested folder to open in its own window, hold down the Option key as you double click the folder. Hiding the toolbar and sidebar so all you see are the files eliminates the need to hold the Option key. Yes, there's no consistency of interface behavior on that one.
    Hi Kurt! Thank you very much for those suggestions. I've actually been playing with the sidebar customizations and can attest that navigation has been a lot easier! This suggestion from Diane and from you has been incredibly helpful. As per the second Finder window, I guess I can only keep searching for a solution. I'm sure there is a way to regain the ability to access more than one Finder window at once. I can see the benefit of limiting it to only one window but I also know from experience that having it is counter-productive in most scenarios. I will have to try opening files and folders in their own windows with the option button to see if it will get me back to the productivity levels I'm used to.
    Thank you again Diane! I need to do some research on each utility to see which one might be worth the investment in the long run!
    I actually wanted to post a resolution of my own. Particularly the sensitivity/acceleration issue and the cut/paste issue. I was able to solve them both by adding a peripheral to my arsenal. The Razer Orochi wireless mouse. There are a couple of reasons why this has been an incredibly helpful move. The first is I have been using Razer peripherals for years. I love the control that Synapse software allows (That is, the utility that comes with Razer mice). I am able to adjust acceleration (Essentially how much farther the mouse moves with aggressive finger movements compared to normal movements) and I am able to adjust overall sensitivity beyond anything the trackpad is capable of because dpi and more thorough software. Don't get me wrong! I'm not trying to advertise here, it's been like night and day since I installed it.
    I also mentioned cut and paste. The Orochi has a mouse wheel with a built-in button, 4 side buttons and the common left/right click buttons for a total of 7 possible mouse-click functions. So how I was able to correct the cut/paste issue was by binding Command-Option-V to one oft the side buttons. So essentially I can now Right Click, choose "Copy" and simply click the side button to move the folder/file/etc to the new directory. Productivity already increasing to levels I once had!
    [Reference: OS X:Keyboard Shortcuts]
    Granted this is not a control-level resolution, (Which would be highly preferable), but it has made a big difference so far. I definitely wouldn't consider this to be an interface preference but rather a productivity preference. However you look at it, I'm happier and can navigate/operate more effectively than I have been able to in a long time.
    I think for all intents and purposes I can mark this thread as solved even though there are a couple of things that fall into this category by default simply because Macs are not capable of doing certain things as far as I can tell...
    Unable to be resolved (By 98% of users) due to fundamental(?) design limitations:
    Allow for heat sensitivity adjustments on the trackpad
    Clickable cut/paste functionality built into OSX
    Second (or multiple) Finder Window(s)
    I think at this point I need to start researching deeper fixes for these problems and maybe post something later about it.
    If anyone has more advice about them or any other features mentioned here, please post!
    -war

  • Mac Air takes a very long time when manually putting to sleep

    I put my Mac Air in sleep mode from the apple icon after Im dont using it but sometimes takes a very long time to shut down. Then Im not sure if sometimes it goes into sleep mode by itself first. My mac notebook as soon as you hit sleep it shut down instantly. Anyone else have this problem?

    I put my Mac Air in sleep mode from the apple icon after Im dont using it but sometimes takes a very long time to shut down. Then Im not sure if sometimes it goes into sleep mode by itself first. My mac notebook as soon as you hit sleep it shut down instantly. Anyone else have this problem?

  • Macbook Pro, bought 2012, takes a very long time to start up/restart (5 mins). How do I fix this?

    My Macbook Pro, bought 2012, takes a very long time to start up/restart (5 mins) every single time I have shut it down.  I try not to shut it down at all now because once or twice, I have got a grey screen, and then nothing. I've held down the power button to shut down again and restart  How do I fix all this?

    Start up with your built-in Recovery disk by holding down the Command and R keys when starting. Open Disk Utility from there and use it to REPAIR your disk (you've already verified it and it came up with errors).
    With any luck, your problems will be solved. While I was there, I would also repair  permissions.
    Good luck,
    Clinton

Maybe you are looking for

  • DVI to VGA screen goes black

    I have a G5 and wish to mirror a TV screen to the existing monitor.  I have bought a DVI splitter to DVI and VGA.  One screen goes black ( the Mac Screen ) as the Mac thinks there is only one monitor connected. How do i tell the Mac to have a mirror

  • Windows 8.1 BSOD and regular switching off

    Hello, I have been regularly experiencing problems with my PC like BSOD  the follwing link gives my system specs: http://speccy.piriform.com/results/6DthFxm1AtsldGbZ86lRfKI The following are my minidump files: https://onedrive.live.com/redir?resid=C6

  • Unexplained 50GB full on start-up disk

    I have used OmniDiskSweeper, and in total it only identifies less than 50GB of what my Activity Monitor shows to be full on the start-up disk. Anybody knows what is going on? I'd very much like to free this space up, because I'm running out. Thank yo

  • How to write self join in sql?

    Hi, I have table named "table_upload", column "record_type" value "01,03,04....." and start_date,end_date and so on And i will have value for  start_date,end_date only for record_type=01,rest of type these two columns will be null. now i need to writ

  • Same not responded to problem

    We are using our iMac G5 with a built in video camera at home with iChat AV 3.1.4. Our link is through our Comcast modem and and Airport Base Station. Our son is studying in Tokyo. He has a PowerBook G4 with an iSight that we just purchased for him.