From: Palmer, E. <ep...@ri...> - 2011-10-20 19:11:21
|
Adam Okay it was a user mistake. I logged is as root and then su existuser so root owned Xorg. Logged out and back in as existuser and all is good. thanks for your never ending help. Eric On 10/20/11 2:44 PM, "Adam Retter" <ad...@ex...> wrote: > Its not necessarily security, do you have Xorg running on the CentOS > machine? Also is it running as the same user account that you are > launching eXist-db as or a different user account? > > On 20 October 2011 19:34, Palmer, Eric <ep...@ri...> wrote: >> Hello all, thanks in advance for your help as we compare 1.4.2dev and >> 1.5.trunk >> >> this pertains to >> >> Version: 1.5.0dev >> SVN Revision: 0000 >> Build: 20111020 >> >> I built this on a mac osx 10.5 and ran the admin client via java -jar >> start.jar client >> I also built it on centos 5.5 64bit >> everything worked fine. >> >> I was able to restore a backup file from 1.4.0 to the centos version via >> the client runing on the mac >> I even connected to it via oxygen (using 1.4 libs in oxygen IS THT OKAY) >> looks okay >> >> When I try to start the client on the centos system using >> java -jar start.jar client >> I get the following output. I¹m guessing I¹ve got some security setting >> getting in the way but I¹m not sure >> >> >> java -jar start.jar client >> eXist version 1.5.0dev, Copyright (C) 2001-2011 Wolfgang Meier >> eXist comes with ABSOLUTELY NO WARRANTY. >> This is free software, and you are welcome to redistribute it >> under certain conditions; for details read the license file. >> >> Xlib: connection to ":0.0" refused by server >> Xlib: No protocol specified >> >> java.lang.reflect.InvocationTargetException >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. >> java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at org.exist.start.Main.invokeMain(Main.java:137) >> at org.exist.start.Main.run(Main.java:463) >> at org.exist.start.Main.main(Main.java:59) >> Caused by: java.lang.NoClassDefFoundError: Could not initialize class >> sun.awt.X11GraphicsEnvironment >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:169) >> at >> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment. >> java:68) >> at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89) >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:169) >> at java.awt.Toolkit$2.run(Toolkit.java:834) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826) >> at >> sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:122) >> at >> javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFee >> l.java:1554) >> at >> javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:130>> ) >> at >> javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:158 >> 9) >> at javax.swing.UIManager.setLookAndFeel(UIManager.java:514) >> at javax.swing.UIManager.setLookAndFeel(UIManager.java:554) >> at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1317) >> at javax.swing.UIManager.initialize(UIManager.java:1406) >> at javax.swing.UIManager.maybeInitialize(UIManager.java:1394) >> at javax.swing.UIManager.getUI(UIManager.java:980) >> at javax.swing.JPanel.updateUI(JPanel.java:109) >> at javax.swing.JPanel.<init>(JPanel.java:69) >> at javax.swing.JPanel.<init>(JPanel.java:92) >> at org.exist.client.LoginPanel.<init>(LoginPanel.java:112) >> at org.exist.client.ClientFrame.getLoginData(ClientFrame.java:1757) >> at >> org.exist.client.InteractiveClient.getGuiLoginData(InteractiveClient.java:230 >> 5) >> at >> org.exist.client.InteractiveClient.run(InteractiveClient.java:2373) >> at >> org.exist.client.InteractiveClient.main(InteractiveClient.java:282) >> ... 7 more >> >> >> I have some other related questions >> >> Can I connect to 1.5 with a 1.4.2dev client >> Can I connect to 1.4.2dev with a 1.5 client >> Can I continue to use oxygen configured with 1.4.0 jar files for the db >> connection or should I point to 1.5 files? >> >> Thanks everyone >> Eric Palmer >> >> ----------------------------------------------------------------------------->> - >> The demand for IT networking professionals continues to grow, and the >> demand for specialized networking skills is growing even more rapidly. >> Take a complimentary Learning@Cisco Self-Assessment and learn >> about Cisco certifications, training, and career opportunities. >> http://p.sf.net/sfu/cisco-dev2dev >> _______________________________________________ >> Exist-open mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-open >> >> > > |