OS : GNU/Linux Red Hat 6.0
Apache : 1.3.9
JServ : 1.1
gcc : egcs-2.91.66
java version "1.2"
Classic VM (build Linux_JDK_1.2_pre-release-v2, native threads, sunwjit)
I followed INSTALL as closely as possible. Everything compiled and ran
(w/ a minimalist httpd_jserv.conf) once i got apache's configure working
like I wanted. However, when I access localhost:8000/servlets/Hello, I
get the following :
java.lang.NullPointerException
at org.apache.jserv.JServServletManager.checkReload(Compiled Code)
at org.apache.jserv.JServConnection.processRequest(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
and the request hangs.
When i do a `killall -HUP httpd_jserv` the following appears :
[Tue Jan 18 18:25:11 2000] [warn] long lost child came home! (pid 31662)
Any help debuging this problem would be GREATLY appreciated. I suspect
the problem is that I'm using the wrong JDK (or installed it wrong)
because i get NullPointerExceptions from all sorts of other java stuff I
try. :(
TIA,
-Philip
More details:
[jserv.properties]
wrapper.classpath=/usr/local/java/jdk1.2/jre/lib/ext/iiimp.jar:/usr/local/java/j
dk1.2/jre/lib/i18n.jar:/usr/local/java/jdk1.2/jre/lib/rt.jar:/usr/local/java/jdk
1.2/lib/tools.jar:/usr/local/java/jdk1.2/lib/dt.jar:/usr/local/java/jdk1.2/src.j
ar:/usr/local/java/xml4j/lib/xml4j.jar:/usr/local/java/xml4j/lib/xml4jSamples.ja
r:/usr/local/java/lotusxsl/lib/js.jar:/usr/local/java/lotusxsl/lib/lotusxsl.jar:
/usr/local/java/lotusxsl/lib/lotusxslbsf.jar:/usr/local/java/JSDK2.0/lib/jsdk.ja
r
wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.jar
wrapper.classpath=/usr/local/java/JSDK2.0/lib/jsdk.jar
[httpd_jserv.conf]
ServerType standalone
ServerRoot /etc/httpd/
PidFile /var/run/httpd_jserv.pid
ScoreBoardFile logs/java/jserv_runtime_status
ErrorLog logs/java/error_log
TransferLog logs/java/access_log
ServerName gerald.pied.nu
Timeout 300
KeepAlive Off
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 25
MaxRequestsPerChild 5
DocumentRoot /usr/local/jserv/docs
Listen 8000
User nobody
Group nobody
AccessConfig /dev/null
ResourceConfig /dev/null
Include /usr/local/jserv/etc/jserv.conf
# Like I said, very minimalist.
--
----------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]