We are running JBoss on WINNT and have started testing the same build on Linux. When starting from a telnet session the application fails as soon as I try to create some dynamic images. This message goes away if we launch from the console or from an cygwin x-window terminal from a PC. The problem reappears, however, if we exit the x-window terminal, even when we use nohup and launch run.sh in the background.
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.(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.image.BufferedImage.createGraphics(BufferedImage.java:1041)
at verilet.framework.widget.DynamicImageGenerator.create(Unknown Source)