----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I am trying to get JServ1.1 working with Apache 1.3.12. 
(Windows 95, Winsock 2 upgrade, JDK 1.2.2, JSDK 2.0)

I am having a sort of trouble which I've seen mentioned
several times in the FAQ.  I get "500 Internal Server Error"
in the title of my (Netscape 4.7) browser page.

I've taken the spaces out of my path names, and turned on
all the debugging/logging options which I know about.

- In my mod_jserv.log I get:
[10/05/2000 12:20:41:710] (INFO) wrapper: Shutdown done
(PID=-140933)
[10/05/2000 12:20:41:710] (INFO) Apache Module was
cleaned-up
[10/05/2000 12:20:41:880] (INFO) wrapper: Java Virtual
Machine started (PID=-323237)
[10/05/2000 12:20:41:880] (INFO) wrapper: controller started
(PID=-140933)
[10/05/2000 12:20:45:060] (INFO) wrapper: Java Virtual
Machine crashed
[10/05/2000 12:20:45:120] (INFO) wrapper: Java Virtual
Machine started (PID=-293273)
[10/05/2000 12:20:47:650] (INFO) wrapper: Java Virtual
Machine crashed
[10/05/2000 12:20:47:700] (INFO) wrapper: Java Virtual
Machine started (PID=-319721)
...
[10/05/2000 12:20:59:400] (INFO) wrapper: VM died too many
times w/in 5 second intervals (6); no more tries
[10/05/2000 12:20:59:400] (INFO) wrapper: too many restart
attempts w/in a short timeframe; no more retries.
...
[10/05/2000 12:21:03:190] (EMERGENCY) ajp12: can not connect
to host 127.0.0.1:8007
[10/05/2000 12:21:03:190] (EMERGENCY) ajp12: connection fail
[10/05/2000 12:21:03:190] (ERROR) an error returned handling
request via protocol "ajpv12"
...

- In my Apache error.log I get:
[Wed May 10 08:20:41 2000] [info] Parent: Created child
process -289753
[Wed May 10 08:20:41 2000] [info] Parent: Duplicating socket
11 and sending it to child process -289753
java.lang.ClassCastException: log doesn't map to a Boolean
object
        at
org.apache.java.util.Configurations.getBoolean(Configurations.java:409)
        at
org.apache.java.util.Configurations.getBoolean(Configurations.java:380)
        at org.apache.java.io.LogWriter.<init>(LogWriter.java:263)
        at org.apache.java.io.LogWriter.<init>(LogWriter.java:203)
        at org.apache.jserv.JServLog.<init>(JServLog.java:92)
        at org.apache.jserv.JServ.start(JServ.java, Compiled Code)
        at org.apache.jserv.JServ.main(JServ.java, Compiled Code)
Exception in thread "main" java.lang.ClassCastException: log
doesn't map to a Boolean object
        at
org.apache.java.util.Configurations.getBoolean(Configurations.java:409)
        at
org.apache.java.util.Configurations.getBoolean(Configurations.java:380)
...

As far as I can tell my jserv.log is set up properly.  This
line appears in my jserv.properties file:
log.file=C:\ProgFls\ApacheG\JServ1.1\logs\jserv.log
I have not yet gotten any messages in that log file, its
size remains zero, but perhaps that is because the JVM has
not run long enough yet to say anything.

I've been chewing on this for three days now.  I will
certainly appreciate any suggestions.

Richard Hammer
Hillsborough, NC
5/10/00


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to