Hi all!

I have a servlet that generate jpeg files.
When I run it in  NT + IIS + JRUN I don't have problems but when I try to
run in LINUX+NES+JRUN, I obtain the next error:

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:61)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java, Compiled Code)
        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java:63)
        at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:61)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java, Compiled Code)
        at java.awt.Toolkit$2.run(Toolkit.java:499)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java, Compiled Code)
        at java.awt.Window.getToolkit(Window.java, Compiled Code)
        at java.awt.Frame.addNotify(Frame.java, Compiled Code)

Does anybody know why I obtain this error?

Thanks!

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to