I've installed Apache and JServ and I can't get the JServ module to
autostart as a DSO module.

Here's the vital stats:

OS - Linux (slackware) kernel 2.0.34
Apache - version 1.3.6
JServ - 1.0b5
JSDK - 2.0
JDK - 1.1.7 (Blackdown)

When I start Apache and attempt to connect to the Hello World servlet
(http://localhost/example/Hello) I get the "Internal server error" and
here's the entire contents of my jserv.log file:

[09/06/1999 22:32:56:257] (EMERGENCY) ajp11: can not connect to host
127.0.0.1:8007
[09/06/1999 22:32:56:258] (EMERGENCY) ajp11: connection fail
[09/06/1999 22:32:56:258] (ERROR) an error returned handling request via
protocol "ajpv11"

There are no messages about "Apache JServ Module is initializing" or
"wrapper: Java Virtual Machine spawned (PID=12522)" which I have seen in
the FAQs or other places. So it looks like to me that the module is not
being initialized properly and the JVM is never starting.

I checked my jserv.properties file and the wrapper points to my JVM and
the classpath is being set correctly:

wrapper.bin=/opt/jdk117/bin/java

wrapper.classpath=/opt/jdk117/lib/classes.zip
wrapper.classpath=/usr/local/jserv/lib/ApacheJServ.jar
wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar

I've got JServ tracing turned on (log=true) and I've turned on every
logging channel, and what I listed above is the only output to the log
file.

I have also run JServ manually, I created a small shell script to launch
JServ and changed the ApJServManual property to "on" in the jserv.conf
file. When I launch JServ manually everything works, I can connect to
the Hello servlet and it produces output.

So I know Jserv is working, it's just that Apache is not correctly
launching the module and starting the JVM. I've carefully read through
the installation and configuration instructions, checked the FAQs and
have read through the excellent tutorial at:

                      http://www.magiccookie.com/computers/apache-jserv/

But this one has still got me stumped. Any help would be greatly
appreciated.

Thanks,

Greg Z





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

Reply via email to