Help!
I'm going *nuts* trying to figure this one out after a couple weeks
of on/off experimentation :-)
Problem: Apache is not able to load/start up JServ _automatically_.
Environment: x86 Linux box, RedHat 5.2, glibc 2.0, kernel 2.2.5,
Apache 1.3.6, JServ 1.0b4, Blackdown JDK 1.2pre1, JSDK 2.0.
Error message: Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/jserv/JServ
I'm *very* close, and the answer is something trivial. How do I know?
Because I can successfully execute a servlet if I start Apache and then start
JServ with this command line:
# java -cp /usr/local/jserv/lib/ApacheJServ.jar:/usr/local/JSDK2.0/lib/jsdk.jar
org/apache/jserv/JServ jserv.properties
All critical files/dirs are world readable, and so forth.
In httpd.conf, ApJServManual is set to 'Off'.
I think I'm missing something trivial, like telling apache/jserv how to
set up a classpath or library path or something.
In jserv.properties, I have:
wrapper.classpath=/usr/local/jserv/lib/ApacheJServ.jar
wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
(I've also tried specifying both dirs on same line with a : between them)
and also:
wrapper.bin.parameters=-cp /usr/local/jserv/lib/ApacheJServ.jar:/usr/local/JSDK
2.0/lib/jsdk.jar
This is essentially how I get it to run standalone, so I figured
I would add it there as well.
Any suggestions? I'm _so_ close to being able to make this 100% usable.
I've scourged the FAQ-O-Matic, checked out some of the mailing list archives
(but not as useful without a search interface), read through just about every
config entry in FAQ-O-Matic, tried lots of permutations on things, tried
setting up wrapper.env for LD_LIBRARY_PATH, and so forth.
-Dan
-- --------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]