Solaris, Apache, JServ - JVM Error

Solaris, Apache, JServ - JVM Error

Post by Achim Hauc » Thu, 01 Apr 1999 04:00:00



Hello,

I get the following errors in my jserv.log when I try to startup apache
with Jserv:

I've installes apache and JServ as explained in the docs and left the
most configurations as its defaults. What is the most likely fault for
this?

Thanks, Achim

[31/03/1999 11:57:12:099] (INFO) Apache Module was cleaned-up
[31/03/1999 11:57:15:056] (INFO) wrapper: watching processes
(PID=1657,PPID=665,VM PID=1663)
[31/03/1999 11:57:15:056] (INFO) wrapper classpath:
/usr/local/jdk1.2/lib:.:/var/opt/apache/apache_1.3.0/java/Apache-JServ-1.0b2/src/java/Apache-JServ.jar:/usr/local/jdk1.2/JSDK2.0/lib/jsdk.jar:/usr/local/jdk1.2/JSDK2.0/src
[31/03/1999 11:57:15:057] (INFO) wrapper: Java VM spawned
(PID=1663|PPID=1657)
[31/03/1999 11:57:16:009] (INFO) wrapper: JVM Exited, restarting it (my
PID=1657)
[31/03/1999 11:57:16:014] (INFO) wrapper: Java VM spawned
(PID=1672|PPID=1657)
[31/03/1999 11:57:17:009] (INFO) wrapper: JVM Exited, restarting it (my
PID=1657)
[31/03/1999 11:57:17:014] (INFO) wrapper: Java VM spawned
(PID=1681|PPID=1657)
[31/03/1999 11:57:18:009] (INFO) wrapper: JVM Exited, restarting it (my
PID=1657)
[31/03/1999 11:57:18:014] (INFO) wrapper: Java VM spawned
(PID=1690|PPID=1657)
[31/03/1999 11:57:19:009] (INFO) wrapper: JVM Exited, restarting it (my
PID=1657)
[31/03/1999 11:57:19:014] (INFO) wrapper: Java VM spawned
(PID=1699|PPID=1657)
[31/03/1999 11:57:20:047] (INFO) wrapper: JVM Exited, restarting it (my
PID=1657)
[31/03/1999 11:57:20:053] (INFO) wrapper: Java VM spawned
(PID=1708|PPID=1657)
[31/03/1999 11:57:21:009] (INFO) wrapper: JVM Exited, restarting it (my
PID=1657)
[31/03/1999 11:57:21:014] (INFO) wrapper: Java VM spawned
(PID=1717|PPID=1657)
[31/03/1999 11:57:22:009] (INFO) wrapper: VM died too many times w/in 5
second intervals (6); no more tries
[31/03/1999 11:57:22:009] (INFO) wrapper: printing debugging information
(command line, env)
[31/03/1999 11:57:22:009] (INFO) wrapper: argument[ 1]
/usr/local/jdk1.2/bin/java
[31/03/1999 11:57:22:010] (INFO) wrapper: argument[ 2]
org.apache.jserv.JServ
[31/03/1999 11:57:22:010] (INFO) wrapper: argument[ 3]
/var/opt/apache/apache_1.3.0/java/Apache-JServ-1.0b2/example/jserv.properties
[31/03/1999 11:57:22:010] (INFO) wrapper: environment[ 1]
CLASSPATH=/usr/local/jdk1.2/lib:.:/var/opt/apache/apache_1.3.0/java/Apache-JServ-1.0b2/src/java/Apache-JServ.jar:/usr/local/jdk1.2/JSDK2.0/lib/jsdk.jar:/usr/local/jdk1.2/JSDK2.0/src
[31/03/1999 11:57:22:010] (INFO) wrapper: environment[ 2]
PATH=/usr/local/jdk1.2/bin:/bin:/usr/bin:/usr/local/bin

When I try to access myserver/example/Hello I get an Internal Error
message and the following error in jserv.log:

[31/03/1999 12:02:28:786] (EMERGENCY) ajp11: can not connect to host
127.0.0.1:8007
[31/03/1999 12:02:28:786] (EMERGENCY) ajp11: connection fail
[31/03/1999 12:02:28:786] (ERROR) an error returned handling request via
protocol "ajpv11"

jserv.conf:
-----------
LoadModule jserv_module libexec/mod_jserv.so
AddModule mod_jserv.c
ApJServManual off
ApJServProperties
/var/opt/apache/apache_1.3.0/java/Apache-JServ-1.0b2/example/jserv.properties
ApJServLogFile /var/adm/apache_jserv.log
ApJServDefaultProtocol ajpv11
ApJServDefaultHost localhost
ApJServDefaultPort 8007
ApJServSecretKey DISABLED
ApJServMount /example /example
ApJServMountCopy on
<Location /jserv/>
  SetHandler jserv-status
  order deny,allow
   deny from all
   allow from localhost 127.0.0.1
</Location>

jserv.properties:
-----------------
wrapper.bin=/usr/local/jdk1.2/bin/java
wrapper.class=org.apache.jserv.JServ
wrapper.path=/usr/local/jdk1.2/bin
wrapper.classpath=/usr/local/jdk1.2/lib:.
wrapper.classpath=/var/opt/apache/apache_1.3.0/java/Apache-JServ-1.0b2/src/java/Apache-JServ.jar
wrapper.classpath=/usr/local/jdk1.2/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/usr/local/jdk1.2/JSDK2.0/src
port=8007
zones=example
example.properties=/var/opt/apache/apache_1.3.0/java/Apache-JServ-1.0b2/example/example.properties
security.maxConnections=50
security.allowedAddresses=127.0.0.1, 129.13.140.149
security.authentication=false
security.challengeSize=5
trace=false
trace.file=jserv.log
trace.timestamp=true
trace.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
trace.channel.init=true
trace.channel.terminate=true
trace.channel.serviceRequest=true
trace.channel.authentication=true
trace.channel.requestData=true
trace.channel.responseHeaders=true
trace.channel.signal=true
trace.channel.exceptionTracing=true
trace.channel.servletManager=true

 
 
 

1. How to run different JServ zones in separate JVMs

Apache 1.3.12 and Jserv 1.1 is running on Solaris 5.6 and is on the
same machine.
 Is it possible to run different JServ zones in separate JVMs using one
machine?  If the answer is yes, how?

Thank you in advance

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Brand new to Apache stuff NEED HELP!!!

3. JServ 1.1b3 and JVM restart

4. Automated E-Mail Responder????

5. Apache JServ Installation error messages

6. New application: KUnit

7. Apache JServ errors...HELP!

8. makefile help: funny rule

9. Apache 1.3.3 w/ JServ: Servlet-Error.

10. Linux RedHat5.3, Apache 1.3.6 dbm_fetch & jserv error

11. Apache Jserv error

12. Apache Jserv install problem - syntax error for ApJServManual.