--
I followed the instructions on how to configure
Apache 1.3.6, JDK 117v1a, JSDK2.0, Jserv1.0b3 on RH5.2
(http://java.apache.org/faq/fom-serve/cache/144.html)
( using
Apache 1.3.6,
JDK 117v1a,
JSDK2.0,
Jserv1.0b3
on Linux 2.2.5 (SuSE 6.1)
)
Everything worked unless the last step.
I didn't have the TestServlet so I used Hello.class instead:
/usr/local/Apache-JServ-1.0b3/example/Hello.class
But visiting the site (http://192.168.2.10/servlets/Hello) just generates
an error (Internal Server Error, misconfiguration,etc.).
In the /usr/local/apache/logs/error_log i see that
Apache JServ: Could not read servlet zone configuration file:
java.io.FileNotFoundException: /usr/local/Apache-Jserv-1.0b3/conf/zone.properties
I am running apache as wwwrun:pxn. This user has access to the file (as anybody
has):
/usr/local/Apache-Jserv-1.0b3/conf/zone.properties
So I don't understand what the problem could be.
I attach the errors.
Thank you for your help
Bernhard
-- Error in Browser ------------------------------------------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the
error occurred, and anything you might have done that
may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------------
---- /usr/local/apache/logs/error_log ------------------------------------------
[Tue Jun 29 21:09:40 1999] [notice] Apache/1.3.6 (Unix) ApacheJServ/1.0b3 configured
-- resuming normal operations
Apache JServ: Could not read servlet zone configuration file:
java.io.FileNotFoundException: /usr/local/Apache-Jserv-1.0b3/conf/zone.properties
---- /usr/local/apache/logs//mod_jserv.log -------------------------------------
[29/06/1999 21:09:40:931] (INFO) Apache Module was cleaned-up
[29/06/1999 21:09:43:963] (INFO) wrapper: watching processes (PID=2679,PPID=2678,VM
PID=2685)
[29/06/1999 21:09:43:963] (INFO) wrapper classpath:
/usr/local/jdk117_v1a/lib/classes.zip:/usr/local/Apache-JServ-1.0b3/src/java/Apache-JServ.jar:/usr/local/JSDK2.0/lib/jsdk.jar
[29/06/1999 21:09:43:963] (INFO) wrapper: Java VM spawned (PID=2685|PPID=2679)
[29/06/1999 21:09:44:964] (INFO) wrapper: JVM Exited, restarting it (my PID=2679)
[29/06/1999 21:09:44:964] (INFO) wrapper: Java VM spawned (PID=2725|PPID=2679)
[29/06/1999 21:09:45:974] (INFO) wrapper: JVM Exited, restarting it (my PID=2679)
...
[29/06/1999 21:09:51:024] (INFO) wrapper: VM died too many times w/in 5 second
intervals (6); no more tries
[29/06/1999 21:09:51:024] (INFO) wrapper: printing debugging information (command
line, env)
[29/06/1999 21:09:51:024] (INFO) wrapper: argument[ 1] /usr/local/jdk117_v1a/bin/java
[29/06/1999 21:09:51:024] (INFO) wrapper: argument[ 2] org.apache.jserv.JServ
[29/06/1999 21:09:51:024] (INFO) wrapper: argument[ 3]
/usr/local/Apache-JServ-1.0b3/conf/jserv.properties
[29/06/1999 21:09:51:024] (INFO) wrapper: environment[ 1]
PATH=/bin:/usr/bin:/usr/local/bin
[29/06/1999 21:09:51:024] (INFO) wrapper: environment[ 2]
CLASSPATH=/usr/local/jdk117_v1a/lib/classes.zip:/usr/local/Apache-JServ-1.0b3/src/java/Apache-JServ.jar:/usr/local/JSDK2.0/lib/jsdk.jar
--------------------------------------------------------------------------------
--
--------------------------------------------------------------
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]