I am having a weird problem with getting Jserv to work.  I have RTFM'd
and I have look here and elsewhere for help before posting.  I have
tried several things to "fix" my problem.   First, I have replaced the
jar file after installing with one post on java.apache.org for Jserv
1.0b3 and the dll for 1.0b2 for apache 1.3.4  I also have checked my
classpath and other paths to make sure they are correct and valid.  None
of this has resolved my problem, so now to you for help.

#1. What version of Apache JServ you are using
    1.0b2 with the replaced jar file and dll module;  Apache 1.3.4 for
Win32
#3. What OS and OS version you are using
Unfortunately, Windows 95b  (not my choice, but my clients).

#4. An exact description of what is going wrong (pretend that we are not

there and we cannot see what you are doing). Include any useful log file

output as well.

Everything seems to work, including being able to bring up the Apache
Jserv config page correctly.  So far so good.  Soon after it crashes
horribly.   Also I have another unrelated question about how to
correctly set mount points.  See below.  Well, in the log files, I see
the following:

Apache error log:
    Class not found: org.apache.jserv.JServ  (repeated extactly seven
times)
mod_jserv.log:
    [13/04/1999 03:06:46:080] (INFO) wrapper: Java Virtual Machine
started (PID=-289965)
    [13/04/1999 03:06:46:080] (INFO) wrapper: controller started
(PID=-91913)
    [13/04/1999 03:06:46:730] (INFO) wrapper: Java Virtual Machine
crashed
    [13/04/1999 03:06:46:790] (INFO) wrapper: Java Virtual Machine
started (PID=-472365)
    [13/04/1999 03:06:47:060] (INFO) wrapper: Java Virtual Machine
crashed
......... lots more times.......
    [13/04/1999 03:06:49:100] (INFO) wrapper: VM died too many times
w/in 5 second intervals (6); no more tries
    [13/04/1999 03:06:49:100] (INFO) wrapper: too many restart attempts
w/in short timeframes; no more tries. There may be an error in your
JServ configuration.

With the following configuration pieces:  (some things left out that
defaults or is not needed)

jserv.properties:

 wrapper.bin=C:\WINDOWS\jre.exe
wrapper.class="org.apache.jserv.JServ"
wrapper.classpath=E:/DEV/jsdk/lib/jsdk.jar;
wrapper.classpath=E:/internet/apache/jserv/ApacheJServ.jar
    ( I checked to make sure the JServ class does exist in the jar
file.)
wrapper.env=SystemDrive=c:
wrapper.env=SystemRoot=/windows/system/
.....
jsdk-ex.properties=e:/internet/apache/jserv/conf/zone-jsdk-ex.properties

httd.conf:

LoadModule jserv_module modules/ApacheModuleJServ.dll
ApJServProperties "E:\internet\apache\jserv\conf\jserv.properties"
......
ApJServMount /jsdk/servlets ajpv11://localhost:8007/jsdk

(if there are others things that I left out that you need to be able
help me out???? let me know)

Anyone have a clue why the JVM keeps crashing?   The first thing I can
think of is the jar file is the wrong version-- it is Jserv 1.0b3
instead of 1.0b2.  Ok, so your saying why did I bother to post this
then?  Well I don't have access to rebuild the jar file from scratch on
this machine.  Does anyone have the 1.0b2 jserv jar for Apache 1.3.4 for
Win32?  Will this definitely solve my problem or is there something else
going on?   Has anyone ever gotten this to work under Windows 95?
[sorry for the long post, but it seems necessary].

Thanks in advance for all your help!

Scott







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