incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: trinidad tries to connect with X11 window server
Date Tue, 12 Sep 2006 16:47:05 GMT
I remember vague, that I saw something similar, when working w/ Java
2d on unix server...



On 9/12/06, Arnaud MERGEY <amergey@sunopsis.com> wrote:
> Hi it isn't trinidad issue, it is jvm issue
>
> try to launch your tomcat with |-Djava.awt.headless=true it should work
>
> Arnaud
> |
> Elias Neri a écrit :
> > Hello,
> >
> > When moving a web application based on adf-faces-api-incubator-m1 from
> > the windows developer machine to a solaris server, tomcat crashes
> > because it can't open a x11 connection.
> >
> > When exporting the display from that server to an existing machine,
> > the application does not crash, but the following exception is thrown:
> >
> > Xlib: connection to "10.32.2.7:0.0" refused by server
> > Xlib: No protocol specified
> > Sep 12, 2006 4:35:50 PM
> > org.apache.myfaces.adfinternal.style.util.GraphicsUtils$GraphicsLoader
> > run
> > WARNING: The following exception was thrown while initialiazing the
> > graphics environment:
> > java.lang.InternalError: Can't connect to X11 window server using
> > '10.32.2.7:0.0' as the value of the DISPLAY variable.
> >       at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
> >       at
> > sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:53)
> >       at
> > sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:142)
> >       at java.security.AccessController.doPrivileged(Native Method)
> >       at
> > sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
> >       at java.lang.Class.forName0(Native Method)
> >       at java.lang.Class.forName(Class.java:164)
> >       at
> > java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
> >
> >       at
> > org.apache.myfaces.adfinternal.style.util.GraphicsUtils$GraphicsLoader.run(GraphicsUtils.java:318)
> >
> >       at java.lang.Thread.run(Thread.java:595)
> > Sep 12, 2006 4:35:50 PM
> > org.apache.myfaces.adfinternal.style.util.GraphicsUtils
> > __setGraphicsLoaded
> > WARNING: Could not initialize the graphical environment.  Please make
> > sure that the DISPLAY environment variable is set correctly.
> > Proceeding with image generation disabled...
> >
> > Is there a reason why trinidad needs X11, because that's usually not
> > available on servers.
> >
> > Regards,
> >
> > Elias
> >
>
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Mime
View raw message