-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

> > #1. What version of Apache JServ you are using
> >
> > 1.0 final
> >
> > #2. What version of Apache you are using
> >
> > 1.3.9, statically linked.  httpd -l confirms that mod_jserv is included in
> > httpd.
> >
> > #3. What OS and OS version you are using
> >
> > Solaris 2.6 on SPARC
> >
> > #4. An exact description of what is going wrong (pretend that we are not
> > there and we cannot see what you are doing). Include any useful log file
> > output as well.
> >
> > I'm runnin the server on port 8080 and trying to use the example/Hello
> > servlet but my error logs show some problems and it returns an internal
> > server error.  My jserv.log shows:
> >
> > [14/09/1999 21:31:16:632] (EMERGENCY) ajp11: can not connect to host
> > 127.0.0.1:8007
> > [14/09/1999 21:31:16:634] (EMERGENCY) ajp11: connection fail
> > [14/09/1999 21:31:16:634] (ERROR) an error returned handling request via
> > protocol "ajpv11"
> >
> > And my Apache error_log shows:
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/jserv/JServ
> >
> > This looks like some sort of classpath error, but the default statements
> > in jserv.properties seems fine:
> >
> > wrapper.classpath=/usr/local/src/ApacheJServ-1.0/src/java/ApacheJServ.jar
> > wrapper.classpath=/usr/JSDK2.0/lib/jsdk.jar
> >
> > Has anyone seen this before, or have any direction they can give me?
> > Thank you.
> >
> > Duane Gran
> 
> By far the most common cause for this problem is Unix permissions, assuming
> that these path names are correct.
> 
> The Apache JServ JVM runs under the same username as the Apache web server,
> as set in httpd.conf (normally "nobody" unless you change it).  In order for
> Apache JServ to start successfully, please make sure that the two JAR files
> listed above are world-readable, and that all directories above them (all the
> way to root) have world-read and world-execute permissions.
> 
> Craig McClanahan

Thanks for the advice, Craig.  I doublechecked my permissions, but I can't
find anything out of the ordinary.  The files and directories are owned by
root:other and every file (and directory leading up to the file) is world
readable.  Can anyone think of anything else which might cause this error?

Duane Gran



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