Hi All,
I finally got JServ configured and installed but am now having problems
running servlets. I've read all the documentation and checked the mail
list but haven't found the info I needed to get this to work. I'm
running Blackdown JDK v1.1.7, Apache 1.3.6, Red Hat 5.2, and JSDK 2.0.
Here are the errors I'm getting when I try to access the standard
HelloWorldServlet servlet:
in Apache's error_log:
java.lang.IncompatibleClassChangeError: Unimplemented interface method
at org.apache.jserv.JServ.main(JServ.java:128)
[Fri Apr 9 15:20:46 1999] [error] [client 127.0.0.1] Premature end of
script headers: /servlets/HelloWorldServlet
in JServ's jserv.log:
[09/03/1999 15:20:46:113] (EMERGENCY) ajp11: cannot scan servlet headers
[09/03/1999 15:20:46:113] (ERROR) an error returned handling request via
protocol "ajpv11"
[09/03/1999 15:20:46:353] (INFO) wrapper: JVM Exited, restarting it (my
PID=11391)
[09/03/1999 15:20:46:354] (INFO) wrapper: Java VM spawned
(PID=11455|PPID=11391)
My jserv.properties file contains:
port=8007
wrapper.bin=/usr/jdk/bin/java
wrapper.classpath=/usr/lib/jsdk.jar
wrapper.classpath=/usr/jserv/lib/Apache-JServ.jar
wrapper.classpath=/usr/jdk/lib/classes.zip
zones=servlets
servlets.properties=/usr/jserv/properties/servlets.properties
My servlets.properties (zone) file contains:
repositories=/usr/apache/servlets
My httpd.conf file contains:
LoadModule jserv_module libexec/mod_jserv.so
AddModule mod_jserv.c
<IfModule mod_jserv.c>
ApJServManual off
ApJServSecretKey /usr/jserv/etc/jserv.secret.key
ApJServProperties /usr/jserv/properties/jserv.properties
ApJServLogFile /usr/jserv/logs/jserv.log
ApJServMount /servlets /servlets
</IfModule>
<Location /status/jserv>
SetHandler jserv-status
order deny,allow
allow from localhost
</Location>
I think I've set everything I need to set to get this to work but it
still doesn't.
Can anyone tell me what I'm doing wrong?
Thanks.
Karen
___________________
Karen Eppinger
Webmaster
Henson Interactive
[EMAIL PROTECTED]
323 960-3431
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]