----------------------------------------------------------------
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 can't find this one in my archives of the list or the faq but I'm
sure it has come up.

I've been using jserv on NT for some time with good results I'm trying
a setup on my formerly perl only Linux box.

Jserv 1.1b3 compiled as DSO
Redhat 6.0 (intel)
Apache 1.3.9 compiled fresh from source for this test

Apache runs as nobody I can su to nobody and start
Jserv like

$
CLASSPATH=/usr/local/apache/libexec/ApacheJServ.jar:/usr/local/JSDK2.0/lib/jsdk.jar
$ export CLASSPATH
$ /usr/local/java/bin/java org.apache.jserv.JServ
/usr/local/apache/conf/jserv/jserv.properties

then all works fine.

If I try to put it on Manual off mode then the mod_jserv.log looks a
little like this:
[30/11/1999 08:06:28:656] (EMERGENCY) ajp12: can not connect to host
127.0.0.1:8007
[30/11/1999 08:06:28:658] (EMERGENCY) ajp12: function connection fail
[30/11/1999 08:06:29:661] (ERROR) wrapper: printing debugging
information (command line, env)
[30/11/1999 08:06:29:662] (ERROR) wrapper: argument[ 0]
/usr/local/java/bin/java
[30/11/1999 08:06:29:663] (ERROR) wrapper: argument[ 1]
org.apache.jserv.JServ
[30/11/1999 08:06:29:664] (ERROR) wrapper: argument[ 2]
/usr/local/apache/conf/jserv/jserv.properties
[30/11/1999 08:06:29:665] (ERROR) wrapper: environment[ 0]
PATH=/bin:/usr/bin:/usr/local/bin
[30/11/1999 08:06:29:667] (ERROR) wrapper: environment[ 1]
CLASSPATH=/usr/local/apache/libexec/ApacheJServ.jar:/usr/loca
l/JSDK2.0/lib/jsdk.jar

jserv.log is empty
error.log indicates all is fine

it would appear to me that I am starting Jserv the same way apache would
be.
all parameters are the same as in the errors PATH and CLASSPATH are the
same

in auto mode after starting apache one java thread is running as soon as
you try to run a servlet it generates the errs and the single thread
dies

I'm running IBM jdk 1.1.8

all files are readable by everybody, the log files are owned by and
writeable
by nobody (jserv.log, mod_jserv.log) java is executeable by nobody

I've seen a log of problems with people getting it going as DSO but I
assume
since I can start it manualy that the module itself is fine.

Thanks for any help
Steve


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