----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
> I am trying out the sample code to generate a GIF file given in Hunter's
> book. It compiles fine BUT gives me a server_error when trying
> to run from
> the browser.
>
> I have set my DISPLAY environment correctly. A X server is running. I
> checked that.
Did you tell your JVM about the X server:
wrapper.env=DISPLAY=127.0.0.1:0.0 in jserv-properties?
Does the JVM have access to the X server (xhost +127.0.0.1)?
> I found a few suggestion in some news group to set the display to 0.0
> and re-starting the X server and manually start JServ.
I don't think you have to restart the X server. You have to restart JServ, but I
didn't have to start it manually. Monday you wrote that your X server is running on a
remote PC. This might complicate things, I am not sure about the implications. Can't
you use an X server on the Solaris-server? You could use a virtual one (xvbf).
Hope these hints give some help.
Markus
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]