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

This sounds exactly like a classpath problem in Java.  Does your system or
Jserv know about the class that it's supposed to be looking for.  I expect it
would need an entry in the jserv.properties file in order to see the class.

I must give you the caveat that this is an intuition and not a known fact.

Scott Tearle

Ganesh Ramanathan wrote:

> ----------------------------------------------------------------
> 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 Jon,
>
> 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.
>
> I am running ApacheJServ-1.1.1 and JSDK 2.0.
>
> The log file has the following error message:
>
> Servlet Error: java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit:
> sun/awt/motif/MToolkit
>
> 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 have not been very successful in re-starting the Xserver. I am running
> Solaris.
>
> Any hints will be appreciated.
>
> --
> --------------------------------------------------------------
> 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