Hallo,
a servlet reads an image sent by the client and uses a helper class I wrote
to do some postproduction (scaling, ...).
I use the Toolkit.getDefaultToolkit()-method to get a toolkit.
Everything works fine when testing it on a local machine.
But on the server the error
500 Internal Server Error
Send:
java.lang.InternalError: Can't connect to X11 window server using ':0.0'
as the value of the DISPLAY variable.
is produced. I know the DISPLAY-variable in the environment has to point to
the x-Server. I also tried to set it to the ip-number followed by :0.0, but
the same error appeared.
Any ideas? Can I avoid using the Toolkit and getDefaultToolkit? There is a
stub-Toolkit on the ACME-Site, but it only works on SUN.
Thanks,
Mario
My environment is jrun2.2.1, irix, NS Enterprise Server 3.5
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html