----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Hi Markus,

Thanks for the input.  Now when I run my servlet,it does not run BUT
   I don't see any errors in the error_log file.

In access_log, I get "GET /servlet/gHello HTTP/1.1" 404 295
In jserv_mod.log I get Servlet Error: NoClassDefFoundError: gHello

If I create a generic servlet with just a text output, it works fine. 
The gHello servlet is in the same directory, /usr/local/apache/servlets
which is defined
as the repositiry in the the zone.properties file.

Thanks for all the help.

-----Original Message-----
From: Markus Kemmerling [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 9:21 AM
To: Java Apache Users
Subject: AW: sun/awt/motif/MToolkit


----------------------------------------------------------------
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]


--
--------------------------------------------------------------
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]

Reply via email to