----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Hi!
I am brand new member of this list, and, sorry, I haven't read the FAQ since the
FAQ-o-Matic is
currently unavailable. Begging for pardons in advance!
I am running with: Apache JServ-1.1b3 (same results with 1.1b2), Sun JDK 1.1.8_09,
JSDK-2.0,
Solaris-2.6 on a Sun Sparc-5.
Here's the problem, when I start Apache (JServ built as a static library, JServ in
auto start
mode), the JVM crashes. I have attached the Apache error_log, the JServ mod_jserv.log,
jserv.conf and jserv.properties.
I had initially installed with JDK-1.1.6 and had it working (i.e., Hello servlet
worked). But
after changing over to jdk-1.1.8 it stopped and now I can't get back even with
jdk-1.1.6 (i.e
changing it in the jserv.properties file).
I know the JServ module is fine by accessing the HTTP jserv status page. It's the
sevlet engine
that is hosed.
I could try starting the servlet engine manually, but I couldn't find any instructions
anywhere
on how to do that.
Thanks,
Shash
========> Apache error_log
[Thu Oct 28 17:11:34 1999] [notice] Apache/1.3.9 (Unix) ApacheJServ/1.1b2 configured --
resuming normal operations
[Thu Oct 28 17:11:34 1999] [info] Server built: Oct 28 1999 13:35:46
[Thu Oct 28 17:16:11 1999] [info] removed PID file
/home/chatsa/web/server/apache/logs/httpd.pid (pid=10983)
[Thu Oct 28 17:16:11 1999] [notice] caught SIGTERM, shutting down
[Thu Oct 28 17:16:17 1999] [notice] Apache/1.3.9 (Unix) ApacheJServ/1.1b2 configured --
resuming normal operations
[Thu Oct 28 17:16:17 1999] [info] Server built: Oct 28 1999 13:35:46
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xde27c01c]
stackbase=EFFFF9B8, stackpointer=EFFFE7CC
Full thread dump:
"SIGQUIT handler" (TID:0xed300178, sys_thread_t:0xa7748, state:R, thread_t: t@5,
sp:0x0
threadID:0xeeaf0dd8, stack_base:0xeeaf0d6c, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed3000d0, sys_thread_t:0xa71f8, state:CW, thread_t: t@4,
sp:0x0
threadID:0xeebb0dd8, stack_base:0xeebb0d6c, stack_size:0x20000) prio=1
"main" (TID:0xed3000a8, sys_thread_t:0xaf7f0, state:R, thread_t: t@1, sp:0x0
threadID:0x20a18, stack_base:0xeffff9b8, stack_size:0x800000) prio=5 *current thread*
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xde27c01c]
stackbase=EFFFF9B8, stackpointer=EFFFE7CC
Full thread dump:
"SIGQUIT handler" (TID:0xed300178, sys_thread_t:0xa7748, state:R, thread_t: t@5,
sp:0x0
threadID:0xeeaf0dd8, stack_base:0xeeaf0d6c, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed3000d0, sys_thread_t:0xa71f8, state:CW, thread_t: t@4,
sp:0x0
threadID:0xeebb0dd8, stack_base:0xeebb0d6c, stack_size:0x20000) prio=1
"main" (TID:0xed3000a8, sys_thread_t:0xaf7f0, state:R, thread_t: t@1, sp:0x0
threadID:0x20a18, stack_base:0xeffff9b8, stack_size:0x800000) prio=5 *current thread*
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xde27c01c]
stackbase=EFFFF9B8, stackpointer=EFFFE7CC
Full thread dump:
"SIGQUIT handler" (TID:0xed300178, sys_thread_t:0xa7748, state:R, thread_t: t@5,
sp:0x0
threadID:0xeeaf0dd8, stack_base:0xeeaf0d6c, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed3000d0, sys_thread_t:0xa71f8, state:CW, thread_t: t@4,
sp:0x0
threadID:0xeebb0dd8, stack_base:0xeebb0d6c, stack_size:0x20000) prio=1
"main" (TID:0xed3000a8, sys_thread_t:0xaf7f0, state:R, thread_t: t@1, sp:0x0
threadID:0x20a18, stack_base:0xeffff9b8, stack_size:0x800000) prio=5 *current thread*
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xde27c01c]
stackbase=EFFFF9B8, stackpointer=EFFFE7CC
Full thread dump:
"SIGQUIT handler" (TID:0xed300178, sys_thread_t:0xa7748, state:R, thread_t: t@5,
sp:0x0
threadID:0xeeaf0dd8, stack_base:0xeeaf0d6c, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed3000d0, sys_thread_t:0xa71f8, state:CW, thread_t: t@4,
sp:0x0
threadID:0xeebb0dd8, stack_base:0xeebb0d6c, stack_size:0x20000) prio=1
"main" (TID:0xed3000a8, sys_thread_t:0xaf7f0, state:R, thread_t: t@1, sp:0x0
threadID:0x20a18, stack_base:0xeffff9b8, stack_size:0x800000) prio=5 *current thread*
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xde27c01c]
stackbase=EFFFF9B8, stackpointer=EFFFE7CC
Full thread dump:
"SIGQUIT handler" (TID:0xed300178, sys_thread_t:0xa7748, state:R, thread_t: t@5,
sp:0x0
threadID:0xeeaf0dd8, stack_base:0xeeaf0d6c, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed3000d0, sys_thread_t:0xa71f8, state:CW, thread_t: t@4,
sp:0x0
threadID:0xeebb0dd8, stack_base:0xeebb0d6c, stack_size:0x20000) prio=1
"main" (TID:0xed3000a8, sys_thread_t:0xaf7f0, state:R, thread_t: t@1, sp:0x0
threadID:0x20a18, stack_base:0xeffff9b8, stack_size:0x800000) prio=5 *current thread*
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xde27c01c]
stackbase=EFFFF9B8, stackpointer=EFFFE7CC
Full thread dump:
"SIGQUIT handler" (TID:0xed300178, sys_thread_t:0xa7748, state:R, thread_t: t@5,
sp:0x0
threadID:0xeeaf0dd8, stack_base:0xeeaf0d6c, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed3000d0, sys_thread_t:0xa71f8, state:CW, thread_t: t@4,
sp:0x0
threadID:0xeebb0dd8, stack_base:0xeebb0d6c, stack_size:0x20000) prio=1
"main" (TID:0xed3000a8, sys_thread_t:0xaf7f0, state:R, thread_t: t@1, sp:0x0
threadID:0x20a18, stack_base:0xeffff9b8, stack_size:0x800000) prio=5 *current thread*
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xde27c01c]
stackbase=EFFFF9B8, stackpointer=EFFFE7CC
Full thread dump:
"SIGQUIT handler" (TID:0xed300178, sys_thread_t:0xa7748, state:R, thread_t: t@5,
sp:0x0
threadID:0xeeaf0dd8, stack_base:0xeeaf0d6c, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed3000d0, sys_thread_t:0xa71f8, state:CW, thread_t: t@4,
sp:0x0
threadID:0xeebb0dd8, stack_base:0xeebb0d6c, stack_size:0x20000) prio=1
"main" (TID:0xed3000a8, sys_thread_t:0xaf7f0, state:R, thread_t: t@1, sp:0x0
threadID:0x20a18, stack_base:0xeffff9b8, stack_size:0x800000) prio=5 *current thread*
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xde27c01c]
stackbase=EFFFF9B8, stackpointer=EFFFE7CC
Full thread dump:
"SIGQUIT handler" (TID:0xed300178, sys_thread_t:0xa7748, state:R, thread_t: t@5,
sp:0x0
threadID:0xeeaf0dd8, stack_base:0xeeaf0d6c, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed3000d0, sys_thread_t:0xa71f8, state:CW, thread_t: t@4,
sp:0x0
threadID:0xeebb0dd8, stack_base:0xeebb0d6c, stack_size:0x20000) prio=1
"main" (TID:0xed3000a8, sys_thread_t:0xaf7f0, state:R, thread_t: t@1, sp:0x0
threadID:0x20a18, stack_base:0xeffff9b8, stack_size:0x800000) prio=5 *current thread*
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xde27c01c]
stackbase=EFFFF9B8, stackpointer=EFFFE7CC
Full thread dump:
"SIGQUIT handler" (TID:0xed300178, sys_thread_t:0xa7748, state:R, thread_t: t@5,
sp:0x0
threadID:0xeeaf0dd8, stack_base:0xeeaf0d6c, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed3000d0, sys_thread_t:0xa71f8, state:CW, thread_t: t@4,
sp:0x0
threadID:0xeebb0dd8, stack_base:0xeebb0d6c, stack_size:0x20000) prio=1
"main" (TID:0xed3000a8, sys_thread_t:0xaf7f0, state:R, thread_t: t@1, sp:0x0
threadID:0x20a18, stack_base:0xeffff9b8, stack_size:0x800000) prio=5 *current thread*
=============> Jserv error log
[28/10/1999 16:09:11:284] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:8007
[28/10/1999 16:09:11:290] (EMERGENCY) ajp12: function connection fail
[28/10/1999 16:12:09:442] (ERROR) wrapper: printing debugging information (command
line, env)
[28/10/1999 16:12:09:448] (ERROR) wrapper: argument[ 0]
/apps/JDKsmplat/1.1.8_09/bin/java
[28/10/1999 16:12:09:449] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
[28/10/1999 16:12:09:450] (ERROR) wrapper: argument[ 2]
/home/chatsa/web/tools/jserv/etc/jserv.properties
[28/10/1999 16:12:09:451] (ERROR) wrapper: environment[ 0]
PATH=/bin:/usr/bin:/usr/local/bin
[28/10/1999 16:12:09:452] (ERROR) wrapper: environment[ 1]
CLASSPATH=/home/chatsa/web/tools/jserv/libexec/ApacheJServ.jar:/home/chatsa/web/tools/jsdk/lib/jsdk.jar:/apps/JDKsmplat/1.1.8_09/lib/classes.zip
[28/10/1999 16:14:02:503] (INFO) jserv_watchdog:(10723) watchdog_cleanup()
[28/10/1999 16:14:02:515] (INFO) Apache Module was cleaned-up
[28/10/1999 16:14:05:676] (INFO) wrapper classpath:
/home/chatsa/web/tools/jserv/libexec/ApacheJServ.jar:/home/chatsa/web/tools/jsdk/lib/jsdk.jar:/apps/JDKsmplat/1.1.8_09/lib/classes.zip
[28/10/1999 16:14:05:685] (INFO) wrapper: Java VM spawned (PID=10731, PPID=10724)
[28/10/1999 16:14:15:692] (INFO) wrapper: watching processes (PID=10724,PPID=10723,JVM
PID=10731)
[28/10/1999 16:14:15:696] (INFO) wrapper: Java VM exited (PID=10724)
[28/10/1999 16:14:15:697] (INFO) wrapper: Java VM restarting (PID=10724)
[28/10/1999 16:14:15:706] (INFO) wrapper: Java VM spawned (PID=10744, PPID=10724)
[28/10/1999 16:14:28:721] (INFO) wrapper: Java VM exited (PID=10724)
[28/10/1999 16:14:28:722] (INFO) wrapper: Java VM restarting (PID=10724)
[28/10/1999 16:14:28:732] (INFO) wrapper: Java VM spawned (PID=10753, PPID=10724)
[28/10/1999 16:14:41:741] (INFO) wrapper: Java VM exited (PID=10724)
[28/10/1999 16:14:41:742] (INFO) wrapper: Java VM restarting (PID=10724)
[28/10/1999 16:14:41:752] (INFO) wrapper: Java VM spawned (PID=10762, PPID=10724)
[28/10/1999 16:14:49:887] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:8007
[28/10/1999 16:14:49:918] (EMERGENCY) ajp12: connection fail
[28/10/1999 16:14:49:919] (ERROR) an error returned handling request via protocol
"ajpv12"
[28/10/1999 16:14:49:920] (ERROR) an error returned handling request via protocol
"status"
[28/10/1999 16:14:54:761] (INFO) wrapper: Java VM exited (PID=10724)
[28/10/1999 16:14:54:762] (INFO) wrapper: Java VM restarting (PID=10724)
[28/10/1999 16:14:54:772] (INFO) wrapper: Java VM spawned (PID=10772, PPID=10724)
[28/10/1999 16:15:07:781] (INFO) wrapper: Java VM exited (PID=10724)
[28/10/1999 16:15:07:782] (ERROR) wrapper: printing debugging information (command
line, env)
[28/10/1999 16:15:07:783] (ERROR) wrapper: argument[ 0]
/apps/JDKsmplat/1.1.8_09/bin/java
[28/10/1999 16:15:07:784] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
[28/10/1999 16:15:07:785] (ERROR) wrapper: argument[ 2]
/home/chatsa/web/tools/jserv/etc/jserv.properties
[28/10/1999 16:15:07:786] (ERROR) wrapper: environment[ 0]
PATH=/bin:/usr/bin:/usr/local/bin
[28/10/1999 16:15:07:787] (ERROR) wrapper: environment[ 1]
CLASSPATH=/home/chatsa/web/tools/jserv/libexec/ApacheJServ.jar:/home/chatsa/web/tools/jsdk/lib/jsdk.jar:/apps/JDKsmplat/1.1.8_09/lib/classes.zip
[28/10/1999 16:15:07:788] (INFO) wrapper: Java VM died 5 times in a row with less than
120 seconds between successive failures, setting delay to 60 seconds before
restarting. Check the Apache error log and the Apache JServ log files for more
details; for maximum log information be sure to enable the Apache JServ log file in
the main jserv properties file by: setting the 'log' property to true, the 'log.file'
property to a file writable by the uid as whom Apache JServ is run, and by enabling
log channels using the 'log.channel.*' properties)
[28/10/1999 16:15:55:790] (INFO) wrapper: Java VM restarting (PID=10724)
[28/10/1999 16:15:55:800] (INFO) wrapper: Java VM spawned (PID=10783, PPID=10724)
[28/10/1999 16:16:08:811] (INFO) wrapper: Java VM exited (PID=10724)
[28/10/1999 16:16:56:810] (INFO) wrapper: Java VM restarting (PID=10724)
[28/10/1999 16:16:56:821] (INFO) wrapper: Java VM spawned (PID=10798, PPID=10724)
[28/10/1999 16:17:09:831] (INFO) wrapper: Java VM exited (PID=10724)
[28/10/1999 16:17:57:830] (INFO) wrapper: Java VM restarting (PID=10724)
[28/10/1999 16:17:57:840] (INFO) wrapper: Java VM spawned (PID=10813, PPID=10724)
[28/10/1999 16:18:10:852] (INFO) wrapper: Java VM exited (PID=10724)
[28/10/1999 16:18:58:850] (INFO) wrapper: Java VM restarting (PID=10724)
[28/10/1999 16:18:58:860] (INFO) wrapper: Java VM spawned (PID=10823, PPID=10724)
[28/10/1999 16:19:11:871] (INFO) wrapper: Java VM exited (PID=10724)
[28/10/1999 16:19:59:870] (ERROR) wrapper: printing debugging information (command
line, env)
[28/10/1999 16:19:59:871] (ERROR) wrapper: argument[ 0]
/apps/JDKsmplat/1.1.8_09/bin/java
[28/10/1999 16:19:59:872] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
[28/10/1999 16:19:59:873] (ERROR) wrapper: argument[ 2]
/home/chatsa/web/tools/jserv/etc/jserv.properties
[28/10/1999 16:19:59:874] (ERROR) wrapper: environment[ 0]
PATH=/bin:/usr/bin:/usr/local/bin
[28/10/1999 16:19:59:875] (ERROR) wrapper: environment[ 1]
CLASSPATH=/home/chatsa/web/tools/jserv/libexec/ApacheJServ.jar:/home/chatsa/web/tools/jsdk/lib/jsdk.jar:/apps/JDKsmplat/1.1.8_09/lib/classes.zip
[28/10/1999 16:19:59:876] (INFO) wrapper: Java VM died 10 times in a row with less
than 120 seconds between successive failures, setting delay to 300 seconds before
restarting. Check the Apache error log and the Apache JServ log files for more
details; for maximum log information be sure to enable the Apache JServ log file in
the main jserv properties file by: setting the 'log' property to true, the 'log.file'
property to a file writable by the uid as whom Apache JServ is run, and by enabling
log channels using the 'log.channel.*' properties)
[28/10/1999 16:21:34:199] (INFO) jserv_watchdog:(10723) watchdog_cleanup()
[28/10/1999 16:21:34:201] (INFO) Apache Module was cleaned-up
[28/10/1999 16:21:34:217] (INFO) Wrapper: Shutting down JServ (PID=10724) (sig 15)
[28/10/1999 16:23:21:899] (INFO) jserv_watchdog:(10873) watchdog_cleanup()
[28/10/1999 16:23:21:934] (INFO) Apache Module was cleaned-up
[28/10/1999 16:23:32:615] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:8007
[28/10/1999 16:23:32:618] (EMERGENCY) ajp12: connection fail
[28/10/1999 16:23:32:619] (ERROR) an error returned handling request via protocol
"ajpv12"
[28/10/1999 16:23:32:622] (ERROR) an error returned handling request via protocol
"status"
[28/10/1999 17:10:47:643] (INFO) jserv_watchdog:(10873) watchdog_cleanup()
[28/10/1999 17:10:47:644] (INFO) Apache Module was cleaned-up
[28/10/1999 17:11:34:387] (INFO) jserv_watchdog:(10983) watchdog_cleanup()
[28/10/1999 17:11:34:398] (INFO) Apache Module was cleaned-up
[28/10/1999 17:16:11:443] (INFO) jserv_watchdog:(10983) watchdog_cleanup()
[28/10/1999 17:16:11:444] (INFO) Apache Module was cleaned-up
[28/10/1999 17:16:17:198] (INFO) jserv_watchdog:(11019) watchdog_cleanup()
[28/10/1999 17:16:17:210] (INFO) Apache Module was cleaned-up
[28/10/1999 17:16:20:365] (INFO) wrapper classpath:
/home/chatsa/web/tools/jserv/libexec/ApacheJServ.jar:/home/chatsa/web/tools/jsdk/lib/jsdk.jar:/apps/JDKsmplat/1.1.8_09/lib/classes.zip
[28/10/1999 17:16:20:373] (INFO) wrapper: Java VM spawned (PID=11026, PPID=11020)
[28/10/1999 17:16:30:382] (INFO) wrapper: watching processes (PID=11020,PPID=11019,JVM
PID=11026)
[28/10/1999 17:16:30:386] (INFO) wrapper: Java VM exited (PID=11020)
[28/10/1999 17:16:30:387] (INFO) wrapper: Java VM restarting (PID=11020)
[28/10/1999 17:16:30:396] (INFO) wrapper: Java VM spawned (PID=11035, PPID=11020)
[28/10/1999 17:16:43:411] (INFO) wrapper: Java VM exited (PID=11020)
[28/10/1999 17:16:43:412] (INFO) wrapper: Java VM restarting (PID=11020)
[28/10/1999 17:16:43:422] (INFO) wrapper: Java VM spawned (PID=11044, PPID=11020)
[28/10/1999 17:16:56:431] (INFO) wrapper: Java VM exited (PID=11020)
[28/10/1999 17:16:56:432] (INFO) wrapper: Java VM restarting (PID=11020)
[28/10/1999 17:16:56:442] (INFO) wrapper: Java VM spawned (PID=11053, PPID=11020)
[28/10/1999 17:17:09:461] (INFO) wrapper: Java VM exited (PID=11020)
[28/10/1999 17:17:09:462] (INFO) wrapper: Java VM restarting (PID=11020)
[28/10/1999 17:17:09:472] (INFO) wrapper: Java VM spawned (PID=11062, PPID=11020)
[28/10/1999 17:17:22:481] (INFO) wrapper: Java VM exited (PID=11020)
[28/10/1999 17:17:22:482] (ERROR) wrapper: printing debugging information (command
line, env)
[28/10/1999 17:17:22:483] (ERROR) wrapper: argument[ 0]
/apps/JDKsmplat/1.1.8_09/bin/java
[28/10/1999 17:17:22:484] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
[28/10/1999 17:17:22:485] (ERROR) wrapper: argument[ 2]
/home/chatsa/web/tools/jserv/etc/jserv.properties
[28/10/1999 17:17:22:486] (ERROR) wrapper: environment[ 0]
PATH=/bin:/usr/bin:/usr/local/bin
[28/10/1999 17:17:22:487] (ERROR) wrapper: environment[ 1]
CLASSPATH=/home/chatsa/web/tools/jserv/libexec/ApacheJServ.jar:/home/chatsa/web/tools/jsdk/lib/jsdk.jar:/apps/JDKsmplat/1.1.8_09/lib/classes.zip
[28/10/1999 17:17:22:488] (INFO) wrapper: Java VM died 5 times in a row with less than
120 seconds between successive failures, setting delay to 60 seconds before
restarting. Check the Apache error log and the Apache JServ log files for more
details; for maximum log information be sure to enable the Apache JServ log file in
the main jserv properties file by: setting the 'log' property to true, the 'log.file'
property to a file writable by the uid as whom Apache JServ is run, and by enabling
log channels using the 'log.channel.*' properties)
[28/10/1999 17:18:10:490] (INFO) wrapper: Java VM restarting (PID=11020)
[28/10/1999 17:18:10:500] (INFO) wrapper: Java VM spawned (PID=11071, PPID=11020)
[28/10/1999 17:18:23:511] (INFO) wrapper: Java VM exited (PID=11020)
[28/10/1999 17:19:11:510] (INFO) wrapper: Java VM restarting (PID=11020)
[28/10/1999 17:19:11:520] (INFO) wrapper: Java VM spawned (PID=11081, PPID=11020)
[28/10/1999 17:19:24:531] (INFO) wrapper: Java VM exited (PID=11020)
[28/10/1999 17:20:12:530] (INFO) wrapper: Java VM restarting (PID=11020)
[28/10/1999 17:20:12:540] (INFO) wrapper: Java VM spawned (PID=11093, PPID=11020)
[28/10/1999 17:20:25:551] (INFO) wrapper: Java VM exited (PID=11020)
[28/10/1999 17:21:13:550] (INFO) wrapper: Java VM restarting (PID=11020)
[28/10/1999 17:21:13:560] (INFO) wrapper: Java VM spawned (PID=11102, PPID=11020)
[28/10/1999 17:21:26:591] (INFO) wrapper: Java VM exited (PID=11020)
[28/10/1999 17:22:14:590] (ERROR) wrapper: printing debugging information (command
line, env)
[28/10/1999 17:22:14:591] (ERROR) wrapper: argument[ 0]
/apps/JDKsmplat/1.1.8_09/bin/java
[28/10/1999 17:22:14:592] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
[28/10/1999 17:22:14:593] (ERROR) wrapper: argument[ 2]
/home/chatsa/web/tools/jserv/etc/jserv.properties
[28/10/1999 17:22:14:594] (ERROR) wrapper: environment[ 0]
PATH=/bin:/usr/bin:/usr/local/bin
[28/10/1999 17:22:14:595] (ERROR) wrapper: environment[ 1]
CLASSPATH=/home/chatsa/web/tools/jserv/libexec/ApacheJServ.jar:/home/chatsa/web/tools/jsdk/lib/jsdk.jar:/apps/JDKsmplat/1.1.8_09/lib/classes.zip
[28/10/1999 17:22:14:596] (INFO) wrapper: Java VM died 10 times in a row with less
than 120 seconds between successive failures, setting delay to 300 seconds before
restarting. Check the Apache error log and the Apache JServ log files for more
details; for maximum log information be sure to enable the Apache JServ log file in
the main jserv properties file by: setting the 'log' property to true, the 'log.file'
property to a file writable by the uid as whom Apache JServ is run, and by enabling
log channels using the 'log.channel.*' properties)
=================> jserv.conf
###############################################################################
# Apache JServ Configuration File #
###############################################################################
# Note: this file should be appended or included into your httpd.conf
# Tell Apache on win32 to load the Apache JServ communication module
#LoadModule jserv_module modules/ApacheModuleJServ.dll
# Tell Apache on Unix to load the Apache JServ communication module
# For shared object builds only!!!
#LoadModule jserv_module /home/chatsa/web/tools/jserv/libexec/mod_jserv.so
<IfModule mod_jserv.c>
# Whether Apache must start Apache JServ or not (On=Manual Off=Autostart)
# Syntax: ApJServManual [on/off]
# Default: "Off"
ApJServManual Off
# Properties filename for Apache JServ in Automatic Mode.
# In manual mode this directive is ignored
# Syntax: ApJServProperties [filename]
# Default: "./conf/jserv.properties"
ApJServProperties /home/chatsa/web/tools/jserv/etc/jserv.properties
# Log file for this module operation relative to Apache root directory.
# Set the name of the trace/log file. To avoid possible confusion about
# the location of this file, an absolute pathname is recommended.
#
# This log file is different than the log file that is in the
# jserv.properties file. This is the log file for the C portion of Apache
# JServ.
#
# On Unix, this file must have write permissions by the owner of the JVM
# process. In other words, if you are running Apache JServ in manual mode
# and Apache is running as user nobody, then the file must have its
# permissions set so that that user can write to it.
# Syntax: ApJServLogFile [filename]
# Default: "./logs/mod_jserv.log"
# Note: when set to "DISABLED", the log will be redirected to Apache error log
ApJServLogFile /home/chatsa/web/tools/jserv/logs/mod_jserv.log
# Log Level for this module
# Syntax: ApJServLogLevel [debug|info|notice|warn|error|crit|alert|emerg]
# Default: info (unless compiled w/ JSERV_DEBUG, in which case it's debug)
ApJServLogLevel debug
# Protocol used by this host to connect to Apache JServ
# (see documentation for more details on available protocols)
# Syntax: ApJServDefaultProtocol [name]
# Default: "ajpv12"
ApJServDefaultProtocol ajpv12
# Default host on which Apache JServ is running
# Syntax: ApJServDefaultHost [hostname]
# Default: "localhost"
#ApJServDefaultHost java.apache.org
# Default port that Apache JServ is listening to
# Syntax: ApJServDefaultPort [number]
# Default: protocol-dependant (for ajpv12 protocol this is "8007")
ApJServDefaultPort 8007
# The amount of time to give to the JVM to start up as well
# as the amount of time to wait to ping the JVM to see if it
# is alive. Slow or heavily loaded machines might want to
# increase this value.
# Default: 10 seconds
# ApJServVMTimeout 10
# Passes parameter and value to specified protocol.
# Syntax: ApJServProtocolParameter [name] [parameter] [value]
# Default: NONE
# Note: Currently no protocols handle this. Introduced for future protocols.
# Apache JServ secret key file relative to Apache root directory.
# Syntax: ApJServSecretKey [filename]
# Default: "./conf/jserv.secret.key"
# Warning: if authentication is DISABLED, everyone on this machine (not just
# this module) may connect to your servlet engine and execute servlet
# bypassing web server restrictions. See the documentation for more information
#ApJServSecretKey /home/chatsa/web/tools/jserv/etc/jserv.secret.key
ApJServSecretKey DISABLED
# Mount point for Servlet zones
# (see documentation for more information on servlet zones)
# Syntax: ApJServMount [name] [jserv-url]
# Default: NONE
# Note: [name] is the name of the Apache URI path to mount jserv-url on
# [jserv-url] is something like "protocol://host:port/zone"
# If protocol, host or port are not specified, the values from
# "ApJServDefaultProtocol", "ApJServDefaultHost" or "ApJServDefaultPort"
# will be used.
# If zone is not specified, the zone name will be the first subdirectory of
# the called servlet.
# Example: "ApJServMount /servlets /myServlets"
# if user requests "http://host/servlets/TestServlet"
# the servlet "TestServlet" in zone "myServlets" on default host
# thru default protocol on defaul port will be requested
# Example: "ApJServMount /servlets ajpv12://localhost:8007"
# if user requests "http://host/servlets/myServlets/TestServlet"
# the servlet "TestServlet" in zone "myServlets" will be requested
# Example: "ApJServMount /servlets ajpv12://jserv.mydomain.com:15643/myServlets"
# if user requests "http://host/servlets/TestServlet" the servlet
# "TestServlet" in zone "myServlets" on host "jserv.mydomain.com" using
# "ajpv12" protocol on port "15643" will be executed
ApJServMount /servlets /root
ApJServMount /servlet /root
# Whether <VirtualHost> inherits base host mount points or not
# Syntax: ApJServMountCopy [on/off]
# Default: "On"
# Note: This directive is meaninful only when virtual hosts are being used
ApJServMountCopy on
# Executes a servlet passing filename with proper extension in PATH_TRANSLATED
# property of servlet request.
# Syntax: ApJServAction [extension] [servlet-uri]
# Defaults: NONE
# Notes: This is used for external tools.
#ApJServAction .jsp /servlets/org.gjt.jsp.JSPServlet
#ApJServAction .gsp /servlets/com.bitmechanic.gsp.GspServlet
#ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI
#ApJServAction .xml /servlets/org.apache.cocoon.Cocoon
# Enable the Apache JServ status handler with the URL of
# "http://servername/jserv/" (note the trailing slash!)
# Change the "deny" directive to restrict access to this status page.
<Location /jserv/>
SetHandler jserv-status
</Location>
############################## W A R N I N G ##################################
# Remember to disable or otherwise protect the execution of the Apache JServ #
# Status Handler (see right above) on a production environment since this may #
# give untrusted users the ability to obtain restricted information on your #
# servlets and their initialization arguments such as JDBC passwords and #
# other important information. The Apache JServ Status Handler should be #
# accessible only by system administrators. #
###############################################################################
</IfModule>
================> jserv.properties
###############################################################################
# Apache JServ Configuration File #
###############################################################################
################################ W A R N I N G ################################
# Unlike normal Java properties, JServ configurations have some important
# extentions:
#
# 1) commas are used as token separators
# 2) multiple definitions of the same key are concatenated in a
# comma-separated list.
###############################################################################
#
# Execution parameters
#######################
# 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=/apps/JDKsmplat/1.1.8_09/bin/java
# Arguments passed to Java interpreter (optional)
# Syntax: wrapper.bin.parameters=[parameters] (String)
# Default: NONE
# Apache JServ entry point class (should not be changed)
# Syntax: wrapper.class=[classname] (String)
# Default: "org.apache.jserv.JServ"
# Arguments passed to main class after the properties filename (not used)
# Syntax: wrapper.class.parameters=[parameters] (String)
# Default: NONE
# Note: currently not used
# PATH environment value passed to the JVM
# Syntax: wrapper.path=[path] (String)
# Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
# "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
# Notes: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters
# Under Win32 (windows-dir) and (windows-system-dir) will be
# automatically evaluated to match your system requirements
# 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=/home/chatsa/web/tools/jserv/libexec/ApacheJServ.jar
wrapper.classpath=/home/chatsa/web/tools/jsdk/lib/jsdk.jar
wrapper.classpath=/apps/JDKsmplat/1.1.8_09/lib/classes.zip
# An environment name with value passed to the JVM
# Syntax: wrapper.env=[name]=[value] (String)
# Default: NONE on Unix Systems
# SystemDrive and SystemRoot with appropriate values on Win32 systems
# An environment name with value copied from caller to Java Virtual Machine
# Syntax: wrapper.env.copy=[name] (String)
# Default: NONE
# Copies all environment from caller to Java Virtual Machine
# Syntax: wrapper.env.copyall=[true|false] (boolean)
# Default: false
# Protocol used for signal handling
# Syntax: wrapper.protocol=[name] (String)
# Default: ajpv12
#
# General parameters
######################
# Set the default IP address or hostname Apache JServ binds (or listens) to.
#
# If you have a machine with multiple IP addresses, this address
# will be the one used. If you set the value to localhost, it
# will be resolved to the IP address configured for the locahost
# on your system (generally this is 127.0.0.1). This feature is so
# that one can have multiple instances of Apache JServ listening on
# the same port number, but different IP addresses on the same machine.
#
# Syntax: bindaddress=[ipaddress] or [localhost]
# Default: localhost
bindaddress=localhost
# Set the port Apache JServ listens to.
# Syntax: port=[1024,65535] (int)
# Default: 8007
port=8007
#
# Servlet Zones parameters
###########################
# List of servlet zones Apache JServ manages
# Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list of String)
# Default: NONE
zones=root
# Configuration file for each servlet zone (one per servlet zone)
# Syntax: [servlet zone name as on the zones list].properties=[full path to
configFile] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
root.properties=/home/chatsa/web/tools/jserv/etc/zone.properties
#
# Thread Pool parameters
#########################
# Enables or disables the use of the thread pool.
# Syntax: pool=[true|false] (boolean)
# Default: false
# WARNING: the pool has not been extensively tested and may generate deadlocks.
# For this reason, we advise against using this code in production environments.
pool=false
# Indicates the number of idle threads that the pool may contain.
# Syntax: pool.capacity=(int)>0
# Default: 10
# NOTE: depending on your system load, this number should be low for contantly
# loaded servers and should be increased depending on load bursts.
pool.capacity=10
# Indicates the pool controller that should be used to control the
# level of the recycled threads.
# Syntax: pool.controller=[full class of controller] (String)
# Default: org.apache.java.recycle.DefaultController
# NOTE: it is safe to leave this unchanged unless special recycle behavior
# is needed. Look at the "org.apache.java.recycle" package javadocs for more
# info on other pool controllers and their behavior.
pool.controller=org.apache.java.recycle.DefaultController
#
# Security parameters
#####################
# Enable/disable the execution of org.apache.jserv.JServ as a servlet.
# This is disabled by default because it may give informations that should
# be restricted.
# Note that the execution of Apache JServ as a servlet is filtered by the web
# server modules by default so that both sides should be enabled to let this
# service work.
# This service is useful for installation and configuration since it gives
# feedback about the exact configurations Apache JServ is using, but it should
# be disabled when both installation and configuration processes are done.
# Syntax: security.selfservlet=[true|false] (boolean)
# Default: false
# WARNING: disable this in a production environment since may give reserved
# information to untrusted users.
security.selfservlet=true
# Set the maximum number of socket connections Apache JServ may handle
# simultaneously. Make sure your operating environment has enough file
# descriptors to allow this number.
# Syntax: security.maxConnections=(int)>1
# Default: 50
security.maxConnections=50
# Backlog setting for very fine performance tunning of JServ.
# Unless you are familiar to sockets leave this value commented out.
# security.backlog=5
# List of IP addresses allowed to connect to Apache JServ. This is a first
# security filtering to reject possibly unsecure connections and avoid the
# overhead of connection authentication.
# Syntax: security.allowedAddresses=[IP address],[IP Address]... (Comma separated list
of IP addresses)
# Default: 127.0.0.1
#security.allowedAddresses=127.0.0.1
# Enable/disable connection authentication.
# NOTE: unauthenticated connections are a little faster since authentication
# handshake is not performed at connection creation.
# WARNING: authentication is disabled by default because we believe that
# connection restriction from all IP addresses but localhost reduces your
# time to get Apache JServ to run. If you allow other addresses to connect and
# you don't trust it, you should enable authentication to prevent untrusted
# execution of your servlets. Beware: if authentication is disabled and the
# IP address is allowed, everyone on that machine can execute your servlets!
# Syntax: security.authentication=[true,false] (boolean)
# Default: true
security.authentication=false
# Authentication secret key.
# The secret key is passed as a file that must be kept secure and must
# be exactly the same of those used by clients to authenticate themselves.
# Syntax: security.secretKey=[secret key path and filename] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
#security.secretKey=/home/chatsa/web/tools/jserv/etc/jserv.secret.key
# Length of the randomly generated challenge string (in bytes) used to
# authenticate connections. 5 is the lowest possible choice to force a safe
# level of security and reduce connection creation overhead.
# Syntax: security.challengeSize=(int)>5
# Default: 5
#security.challengeSize=5
#
# Logging parameters
####################
# Enable/disable Apache JServ logging.
# WARNING: logging is a very expensive operation in terms of performance. You
# should reduced the generated log to a minumum or even disable it if fast
# execution is an issue. Note that if all log channels (see below) are
# enabled, the log may become really big since each servlet request may
# generate many Kb of log. Some log channels are mainly for debugging
# purposes and should be disabled in a production environment.
# Syntax: log=[true,false] (boolean)
# Default: true
log=true
# Set the name of the trace/log file. To avoid possible confusion about
# the location of this file, an absolute pathname is recommended.
#
# This log file is different than the log file that is in the
# jserv.conf file. This is the log file for the Java portion of Apache
# JServ.
#
# On Unix, this file must have write permissions by the owner of the JVM
# process. In other words, if you are running Apache JServ in manual mode
# and Apache is running as user nobody, then the file must have its
# permissions set so that that user can write to it.
# Syntax: log.file=[log path and filename] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
log.file=/home/chatsa/web/tools/jserv/logs/jserv.log
# Enable the timestamp before the log message
# Syntax: log.timestamp=[true,false] (boolean)
# Default: true
log.timestamp=true
# Use the given string as a data format
# (see java.text.SimpleDateFormat for the list of options)
# Syntax: log.dateFormat=(String)
# Default: [dd/MM/yyyy HH:mm:ss:SSS zz]
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
# Since all the messages logged are processed by a thread running with
# minimum priority, it's of vital importance that this thread gets a chance
# to run once in a while. If it doesn't, the log queue overflow occurs,
# usually resulting in the OutOfMemoryError.
#
# To prevent this from happening, two parameters are used: log.queue.maxage
# and log.queue.maxsize. The former defines the maximum time for the logged
# message to stay in the queue, the latter defines maximum number of
# messages in the queue.
#
# If one of those conditions becomes true (age > maxage || size > maxsize),
# the log message stating that fact is generated and the log queue is
# flushed in the separate thread.
#
# If you ever see such a message, either your system doesn't live up to its
# expectations or you have a runaway loop (probably, but not necessarily,
# generating a lot of log messages).
#
# WARNING: Default values are lousy, you probably want to tweak them and
# report the results back to the development team.
# Syntax: log.queue.maxage = [milliseconds]
# Default: 5000
log.queue.maxage = 5000
# Syntax: log.queue.maxsize = [integer]
# Default: 1000
log.queue.maxsize = 1000
# Enable/disable logging the channel name
# Default: false
# log.channel=false
# Enable/disable channels, each logging different actions.
# Syntax: log.channel.[channel name]=[true,false] (boolean)
# Default: false
# Info channel - quite a lot of informational messages
# hopefully you don't need them under normal circumstances
# log.channel.info=true
# Servlets exception, i.e. exception caught during
# servlet.service() processing are monitored here
# you probably want to have this one switched on
log.channel.servletException=true
# JServ exception, caught internally in jserv
# we suggest to leave it on
log.channel.jservException=true
# Warning channel, it catches all the important
# messages that don't cause JServ to stop, leave it on
log.channel.warning=true
# Servlet log
# All messages logged by servlets. Probably you want
# this one to be switched on.
log.channel.servletLog=true
# Critical errors
# Messages produced by critical events causing jserv to stop
log.channel.critical=true
# Debug channel
# Only for internal debugging purposes
# log.channel.debug=true
--
--------------------------------------------------------------
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]