Hi All,
I've been having some problems running the POS on my workstation. It's a Debian box running JDK1.4.2_08 and ant1.6.1 It seems to run the rest of the application fine. It looks like it is having trouble using the x interface. Is anyone else having trouble like this? Can anyone tell me which platforms POS has been tried on? The build is this mornings cvs. I had a similar problem with cvs from a while ago. The error is below. Thanks and very best wishes. Ian ofbiz@polonium:~$ $JAVA_HOME/bin/java -jar ofbiz.jar -pos Set OFBIZ_HOME to - /home/ofbiz Admin socket not configured; set to port 0 Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) at java.awt.Window.init(Window.java:231) at java.awt.Window.<init>(Window.java:275) at java.awt.Frame.<init>(Frame.java:401) at java.awt.Frame.<init>(Frame.java:366) at org.ofbiz.base.splash.SplashScreen.<init>(SplashScreen.java:43) at org.ofbiz.base.splash.SplashLoader.run(SplashLoader.java:93) at java.lang.Thread.run(Thread.java:534) at org.ofbiz.base.splash.SplashLoader.load(SplashLoader.java:59) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:412) ofbiz@polonium:~$ _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Hi Ian,
I don't have a solution for you but I have tried POS on Win2K, XP, FC 3 (using XFCE) and Kubuntu 5.4. The later is probably closest to Debian although my detailed nix knowledge is still in development. On FC 3 I've run with Sun JDK 1.4.2_08 and the Kubuntu is 64 bit so running Blackdown 1.4.2-02 rather than Sun although 1.5 is now an option OFBiz needs to catch up first. Are you having problems running other Java applications? You might get some answers from a session in Google with "debian java can't connect to X11 window server....". Ray Ian Gilbert wrote: >Hi All, > >I've been having some problems running the POS on my workstation. It's a >Debian box running JDK1.4.2_08 and ant1.6.1 It seems to run the rest of >the application fine. It looks like it is having trouble using the x >interface. Is anyone else having trouble like this? Can anyone tell me >which platforms POS has been tried on? The build is this mornings cvs. I >had a similar problem with cvs from a while ago. > >The error is below. Thanks and very best wishes. > >Ian > >ofbiz@polonium:~$ $JAVA_HOME/bin/java -jar ofbiz.jar -pos >Set OFBIZ_HOME to - /home/ofbiz >Admin socket not configured; set to port 0 >Xlib: connection to ":0.0" refused by server >Xlib: No protocol specified > >Exception in thread "main" java.lang.InternalError: Can't connect to X11 >window server using ':0.0' as the value of the DISPLAY variable. > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) > at >sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:141) > at >java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) > at java.awt.Window.init(Window.java:231) > at java.awt.Window.<init>(Window.java:275) > at java.awt.Frame.<init>(Frame.java:401) > at java.awt.Frame.<init>(Frame.java:366) > at org.ofbiz.base.splash.SplashScreen.<init>(SplashScreen.java:43) > at org.ofbiz.base.splash.SplashLoader.run(SplashLoader.java:93) > at java.lang.Thread.run(Thread.java:534) > at org.ofbiz.base.splash.SplashLoader.load(SplashLoader.java:59) > at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) > at org.ofbiz.base.start.Start.init(Start.java:96) > at org.ofbiz.base.start.Start.main(Start.java:412) >ofbiz@polonium:~$ > > >_______________________________________________ >Users mailing list >[hidden email] >http://lists.ofbiz.org/mailman/listinfo/users > > > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Hi Ray :)
I suspect that this is actually something to do with my OS setup as I am actually having problems with displaying on X when using different users. This isn't a problem for this list and I will sort this out elsewhere :) Thanks for your help. I have also been trying this out on Win2K which doesn't have any problems. I am hoping to do some more testing this week as well as looking around the other areas that have changed since my last upgrade. It's all very interesting. I am also hoping to go through Si Chens tutorials which appear to be very good indeed. Very best wishes Ian On Mon, July 18, 2005 11:26 am, Ray wrote: > Hi Ian, > > > I don't have a solution for you but I have tried POS on Win2K, XP, FC 3 > (using XFCE) and Kubuntu 5.4. The later is probably closest to Debian > although my detailed nix knowledge is still in development. On FC 3 I've > run with Sun JDK 1.4.2_08 and the Kubuntu is 64 bit so running Blackdown > 1.4.2-02 rather than Sun although 1.5 is now an option OFBiz needs to > catch up first. > > Are you having problems running other Java applications? You might get > some answers from a session in Google with "debian java can't connect to > X11 window server....". > > > Ray > > > > Ian Gilbert wrote: > > >> Hi All, >> >> >> I've been having some problems running the POS on my workstation. It's >> a Debian box running JDK1.4.2_08 and ant1.6.1 It seems to run the rest >> of the application fine. It looks like it is having trouble using the x >> interface. Is anyone else having trouble like this? Can anyone tell >> me which platforms POS has been tried on? The build is this mornings >> cvs. I had a similar problem with cvs from a while ago. >> >> The error is below. Thanks and very best wishes. >> >> >> Ian >> >> >> ofbiz@polonium:~$ $JAVA_HOME/bin/java -jar ofbiz.jar -pos >> Set OFBIZ_HOME to - /home/ofbiz >> Admin socket not configured; set to port 0 >> Xlib: connection to ":0.0" refused by server >> Xlib: No protocol specified >> >> >> Exception in thread "main" java.lang.InternalError: Can't connect to >> X11 >> window server using ':0.0' as the value of the DISPLAY variable. at >> sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at >> sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134) >> at java.lang.Class.forName0(Native Method) at >> java.lang.Class.forName(Class.java:141) >> at >> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron >> ment.java:62) >> at java.awt.Window.init(Window.java:231) at >> java.awt.Window.<init>(Window.java:275) >> at java.awt.Frame.<init>(Frame.java:401) at >> java.awt.Frame.<init>(Frame.java:366) >> at org.ofbiz.base.splash.SplashScreen.<init>(SplashScreen.java:43) at >> org.ofbiz.base.splash.SplashLoader.run(SplashLoader.java:93) >> at java.lang.Thread.run(Thread.java:534) at >> org.ofbiz.base.splash.SplashLoader.load(SplashLoader.java:59) >> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) at >> org.ofbiz.base.start.Start.init(Start.java:96) >> at org.ofbiz.base.start.Start.main(Start.java:412) ofbiz@polonium:~$ >> >> >> >> _______________________________________________ >> Users mailing list >> [hidden email] >> http://lists.ofbiz.org/mailman/listinfo/users >> >> >> >> > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Administrator
|
In reply to this post by Ray Barlow
Ian,
I just tried on Ubuntu Hoary from scratch (chechout of last svn, ant run-install on postgres 8.0, java -jar ofbiz.jar -pos) no problem at all. Jacques ----- Original Message ----- From: "Ray" <[hidden email]> To: "OFBiz Users / Usage Discussion" <[hidden email]> Sent: Monday, July 18, 2005 1:26 PM Subject: Re: [OFBiz] Users - Problems running POS ... > Hi Ian, > > I don't have a solution for you but I have tried POS on Win2K, XP, FC 3 > (using XFCE) and Kubuntu 5.4. The later is probably closest to Debian > although my detailed nix knowledge is still in development. On FC 3 I've > run with Sun JDK 1.4.2_08 and the Kubuntu is 64 bit so running Blackdown > 1.4.2-02 rather than Sun although 1.5 is now an option OFBiz needs to > catch up first. > > Are you having problems running other Java applications? You might get > some answers from a session in Google with "debian java can't connect to > X11 window server....". > > Ray > > > Ian Gilbert wrote: > > >Hi All, > > > >I've been having some problems running the POS on my workstation. It's a > >Debian box running JDK1.4.2_08 and ant1.6.1 It seems to run the rest of > >the application fine. It looks like it is having trouble using the x > >interface. Is anyone else having trouble like this? Can anyone tell me > >which platforms POS has been tried on? The build is this mornings cvs. > >had a similar problem with cvs from a while ago. > > > >The error is below. Thanks and very best wishes. > > > >Ian > > > >ofbiz@polonium:~$ $JAVA_HOME/bin/java -jar ofbiz.jar -pos > >Set OFBIZ_HOME to - /home/ofbiz > >Admin socket not configured; set to port 0 > >Xlib: connection to ":0.0" refused by server > >Xlib: No protocol specified > > > >Exception in thread "main" java.lang.InternalError: Can't connect to X11 > >window server using ':0.0' as the value of the DISPLAY variable. > > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) > > at > >sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134) > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:141) > > at > >java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironmen > > at java.awt.Window.init(Window.java:231) > > at java.awt.Window.<init>(Window.java:275) > > at java.awt.Frame.<init>(Frame.java:401) > > at java.awt.Frame.<init>(Frame.java:366) > > at org.ofbiz.base.splash.SplashScreen.<init>(SplashScreen.java:43) > > at org.ofbiz.base.splash.SplashLoader.run(SplashLoader.java:93) > > at java.lang.Thread.run(Thread.java:534) > > at org.ofbiz.base.splash.SplashLoader.load(SplashLoader.java:59) > > at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) > > at org.ofbiz.base.start.Start.init(Start.java:96) > > at org.ofbiz.base.start.Start.main(Start.java:412) > >ofbiz@polonium:~$ > > > > > >_______________________________________________ > >Users mailing list > >[hidden email] > >http://lists.ofbiz.org/mailman/listinfo/users > > > > > > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |