----------------------------------------------------
Please read the FAQ at <http://java.apache.org/faq/>
It does have a search feature!

We cannot guess what you are trying to do:
#1. Include version numbers for all software.
#2. Include relevant configuration settings.
#3. Include full descriptions of the problem.

Got Linux? Seeing lots of java processes?
<http://java.apache.org/faq/?file=274>
----------------------------------------------------

Hello All,

I'm trying to install JServ on an NT box, and seem to be having some problems with bad 
configuration info. I didn't see this in the FAQ, or in the archives (but am probably 
just being blind).

Versions in use:
Windows NT 4 sp 5.
Apache 1.3.6
JDK 1.2.1-A native threads
JSDK 2.0
JServ 1.1b1

I modified the httpd.conf file to remove the jrun module, and was able to get Apache 
to start (no servlet's being served). I then added in the configuration items to start 
JServ, and have been having trouble getting it up and working.

Below is the mod_jserv.log file. Note that the JVM is crashing. I tried to modify the 
log parameters, but they were already all true, so I didn't see what was wrong with 
them. configuration files (relevant parts, anyway) are attached at the bottom. If I 
didn't include it in the email, it wasn't changed from the config file I got from the 
tar file.

Thanks,
Brian

---------------------- mod_jserv.log ------------------------------

slowdog:/Program Files/Apache Group/Apache/logs-> cat mod_jserv.log
[11/10/1999 18:34:12:108] (INFO) wrapper: Shutdown done (PID=394)
[11/10/1999 18:34:12:158] (INFO) Apache Module was cleaned-up
[11/10/1999 18:34:12:178] (INFO) wrapper: Java Virtual Machine started (PID=403)
[11/10/1999 18:34:12:178] (INFO) wrapper: controller started (PID=394)
[11/10/1999 18:34:13:400] (INFO) wrapper: Java Virtual Machine crashed
[11/10/1999 18:34:13:410] (INFO) wrapper: Java Virtual Machine started (PID=102)
[11/10/1999 18:34:14:492] (INFO) wrapper: Java Virtual Machine crashed
[11/10/1999 18:34:14:502] (INFO) wrapper: Java Virtual Machine started (PID=439)
[11/10/1999 18:34:15:633] (INFO) wrapper: Java Virtual Machine crashed
[11/10/1999 18:34:15:643] (INFO) wrapper: Java Virtual Machine started (PID=425)
[11/10/1999 18:34:16:735] (INFO) wrapper: Java Virtual Machine crashed
[11/10/1999 18:34:16:735] (INFO) wrapper: Java Virtual Machine started (PID=197)
[11/10/1999 18:34:17:917] (INFO) wrapper: Java Virtual Machine crashed
[11/10/1999 18:34:17:917] (INFO) wrapper: Java Virtual Machine started (PID=354)
[11/10/1999 18:34:19:879] (INFO) wrapper: Java Virtual Machine crashed
[11/10/1999 18:34:19:879] (INFO) wrapper: Java Virtual Machine started (PID=355)
[11/10/1999 18:34:21:081] (INFO) wrapper: Java Virtual Machine crashed
[11/10/1999 18:34:21:081] (INFO) wrapper: VM died too many times w/in 5 second interv
als (6); no more tries
[11/10/1999 18:34:21:081] (INFO) wrapper: too many restart attempts w/in a short time
frame; no more retries.
There may be an error in your Apache JServ configuration.
To debug, please enable all log options in jserv.properties:
log=true
log.file=/usr/local/apache/var/log/jserv.trace
log.timestamp=true
log.dateFormat=[yyyyMMdd HHmmss:SSS]
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.requestData=true
log.channel.responseHeaders=true
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=true
restart apache, access your servlet, and examine your:
- Apache error log as specified in the ErrorLog directive;
- your jserv log file as specified in the ApJServLogFile directive;
- and the jserv log file as specified in jserv.properties for possible clues.

slowdog:/Program Files/Apache Group/Apache/logs->

--------------------- httpd.conf ------------------------

LoadModule jserv_module modules/ApacheModuleJServ.dll
ApJServProperties conf/jserv.properties
ApJServSecretKey DISABLED

--------------------- jserv.properties -------------------------

# The Java Virtual Machine interpreter.
# Syntax: wrapper.bin=[filename] (String)
# Note: specify a full path if the interpreter is not visible in your path.
wrapper.bin=c:\jdk1.2.1\bin\java.exe org.apache.jserv.JServ "c:/program files/apache
group/apache/conf/jserv.properties"

# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path] (String)
# Default: NONE (Sun's JDK/JRE already have a default classpath)
# Note: if more than one line is supplied these will be concatenated using
#       ":" or ";" (depending wether Unix or Win32) characters. JVM must be
#       able to find JSDK and JServ classes and any utility classes used by
#       your servlets.
# Note: the classes you want to be automatically reloaded upon modification
#       MUST NOT be in this classpath or the classpath of the shell
#       you start the Apache from.
#
#wrapper.classpath=@JSERV_CLASSES@
#wrapper.classpath=@JSDK_CLASSES@

#
# Servlet Zones parameters
###########################

# List of servlet zones Apache JServ manages
# Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list of String)
# Default: NONE
zones=production,development

]
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.requestData=true
log.channel.responseHeaders=true
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=true
restart apache, access your servlet, and examine your:
- Apache error log as specified in the ErrorLog directive;
- your jserv log file as specified in the ApJServLogFile directive;
- and the jserv log file as specified in jserv.properties for possible clues.

slowdog:/Program Files/Apache Group/Apache/logs->

--------------------- httpd.conf ------------------------

LoadModule jserv_module modules/ApacheModuleJServ.dll
ApJServProperties conf/jserv.properties
ApJServSecretKey DISABLED

--------------------- jserv.properties -------------------------

# The Java Virtual Machine interpreter.
# Syntax: wrapper.bin=[filename] (String)
# Note: specify a full path if the interpreter is not visible in your path.
wrapper.bin=c:\jdk1.2.1\bin\java.exe org.apache.jserv.JServ "c:/program files/apache
group/apache/conf/jserv.properties"

# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path] (String)
# Default: NONE (Sun's JDK/JRE already have a default classpath)



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