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

Jonathan Alpers wrote:

> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> I've installed JServ 1.0 as a DSO on Apache 1.3.9, under RedHat 6.0,
> with JSDK v2.0 and Blackdown JDK 1.1.7_v3.
>
> HTTPD won't start, and I get the following in mod_jserv.log:
>
> [01/09/1999 19:58:34:047] (ERROR) an error returned initializing
> protocol "wrapper"
> [01/09/1999 19:58:34:066] (ERROR) in init all protocols "wrapper"
> returned an error
> [01/09/1999 19:58:34:066] (EMERGENCY) Error initializing protocols
>
> After reading the FAQ and following advice in the mailing-list archives,
> I'm still getting this error, with these settings in jserv.properties:
>
> wrapper.bin=/usr/local/jdk117_v3/bin/java
> wrapper.class=org.apache.jserv.JServ
> wrapper.path=/usr/local/jdk117_v3/bin:/usr/local/JSDK2.0/bin
> wrapper.path=/usr/X11R6/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
>
> wrapper.classpath=/usr/local/jdk117_v3/lib/classes.zip
> wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
> wrapper.classpath=/usr/local/ApacheJServ-1.0/src/java/ApacheJServ.jar
>
> $CLASSPATH and $PATH are the same as wrapper.path and wrapper.classpath.
>
> Any ideas?
>

One thing to check for is that the username under which Apache is started
(set in the httpd.conf file, default value is "nobody") has appropriate
Unix access permissions to these directories (needs "read" and "execute")
and files (needs "read").  If Java cannot access a particular file or
directory on the class path, for example, it pretends that entry is not
there -- with no error message -- which can lead to some really mystifying
problems.

If it works when you start Apache JServ manually (which probably happens
under your own username rather than "nobody"), this is almost certainly the
cause.

Craig McClanahan




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