All,
Setup: [Linux + JServ + Java1.1.7a]
We cannot get our zones to work for love nor money. We keep getting the old
"Can't find class org.apache.jserv.JServ" error which am sure is not a
unique problem. I searched the [jserv.apache.org] which isn't very helpful
in this area. [sorry, i keep running up against problems that no one has
documented yet!].
I did a search in DEJANEWS.COM and a chap indicated that I should try to run
JServ standalone and if this works then none of your JAR files are corrupt.
Well I did that with the below script . . .
/home/java/bin/java -classpath
/home/java/lib/classes.zip:/usr/local/jserv/lib/Apache-JServ.jar:/home/java_
lib/jsdk.jar org.apache.jserv.JServ /usr/local/apache/conf/jserv.properties
. . . and it worked. I could then run my servlets. Excellent. What are
the possible causes of this. As you can see from the output in
mod_jserv.log the classpath information in jserv.properties is ok. Default
installation, so no fancy paths. The above script also checks the validity
of jserv.properties so it was running ok.
Like I say, its when Apache has to start the VM itself that things go
pear-shaped. As if we run the VM separately, not a problem is seen.
+++++++ Output from mod_jserv.log +++++++++++++
wrapper: argument[ 1] /home/java/bin/java
wrapper: argument[ 2] org.apache.jserv.JServ
wrapper: argument[ 3] /usr/local/apache/conf/jserv.properties
wrapper: environment[ 1] PATH=/bin:/usr/bin:/usr/local/bin
wrapper: environment[ 2]
CLASSPATH=/home/java/lib/classes.zip:/home/java_lib/jsdk.jar:/usr/local/jser
v/lib/Apache-JServ.jar
+++++++ Output from error.log +++++++++++++
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Please help, as this is really beginning to hack me off, as I have wasted a
whole Sunday trying to fix it!
Thanks
Alan
____________________________
n-ary .. .. .. the uk java specialists
http://www.n-ary.com
[Servlets] [JDBC] [Applications]
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]