----------------------------------------------------------------
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 currently running Debian linux on an intel 200 mhz computer and have 
installed apache 1.3.11 on it.  I have attempted to compile apache with 
jserv but when i start up jserv manually, i get this error although i can 
access the status handler at http://xxx.xxx.xxx.xxx/jserv/ and can view my 
settings, though i cannot go anywhere on the Mapped Servlet Engine link:

ApacheJServ/1.1
Received signal: Quit
SIGSEGV   11*  segmentation violation

i am starting jserv manually using this script:

#!/bin/sh
# Launch jserv in manual mode.
jsdk=/usr/local/JSDK2.0/lib/jsdk.jar
jserv=/usr/local/jserv/libexec/ApacheJServ.jar
props=/usr/local/jserv/etc/jserv.properties
log=/usr/local/apache/logs/jserv.log
classes=$CLASSPATH:$jsdk:$jserv
/opt/jdk1.2.2/bin/java -classpath $classes org.apache.jserv.JServ $props &> 
$log

When jserv is started automatically with apache, i get this in the log file 
mod_jserv.log

[06/03/2000 02:06:30:618] (INFO) wrapper classpath: 
/usr/local/jserv/libexec/ApacheJServ.jar:/usr/local/JSDK2.0/lib/jsdk.jar
[06/03/2000 02:06:30:618] (INFO) wrapper: Java VM spawned (PID=501, PPID=494)
[06/03/2000 02:06:40:625] (INFO) wrapper: watching processes 
(PID=494,PPID=222,JVM PID=501)
[06/03/2000 02:06:40:625] (INFO) wrapper: Java VM exited (PID=494)
[06/03/2000 02:06:40:625] (INFO) wrapper: Java VM restarting (PID=494)
[06/03/2000 02:06:40:627] (INFO) wrapper: Java VM spawned (PID=524, PPID=494)
[06/03/2000 02:06:53:644] (INFO) wrapper: Java VM exited (PID=494)
[06/03/2000 02:06:53:645] (INFO) wrapper: Java VM restarting (PID=494)
[06/03/2000 02:06:53:646] (INFO) wrapper: Java VM spawned (PID=545, PPID=494)
[06/03/2000 02:07:06:664] (INFO) wrapper: Java VM exited (PID=494)
[06/03/2000 02:07:06:664] (INFO) wrapper: Java VM restarting (PID=494)
[06/03/2000 02:07:06:666] (INFO) wrapper: Java VM spawned (PID=566, PPID=494)
[06/03/2000 02:07:19:684] (INFO) wrapper: Java VM exited (PID=494)
[06/03/2000 02:07:19:684] (INFO) wrapper: Java VM restarting (PID=494)
[06/03/2000 02:07:19:685] (INFO) wrapper: Java VM spawned (PID=586, PPID=494)
[06/03/2000 02:07:32:703] (INFO) wrapper: Java VM exited (PID=494)
[06/03/2000 02:07:32:704] (ERROR) wrapper: printing debugging information 
(command line, env)
[06/03/2000 02:07:32:704] (ERROR) wrapper: argument[ 0] 
/usr/local/jdk1.2.2/bin/java
[06/03/2000 02:07:32:704] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
[06/03/2000 02:07:32:704] (ERROR) wrapper: argument[ 2] 
/usr/local/jserv/etc/jserv.properties
[06/03/2000 02:07:32:704] (ERROR) wrapper: environment[ 0] 
CLASSPATH=/usr/local/jserv/libexec/ApacheJServ.jar:/usr/local/JSDK2.0/lib
/jsdk.jar
[06/03/2000 02:07:32:704] (ERROR) wrapper: environment[ 1] 
PATH=/opt/jdk1.2.2/bin:/opt/jdk1.2.2/jre:/bin:/usr/bin:/usr/local/bin
[06/03/2000 02:07:32:704] (INFO) wrapper: Java VM died 5 times in a row 
with less than 120 seconds between successive failures, sett
ing delay to 60 seconds before restarting. Check the Apache error log and 
the Apache JServ log files for more details; for maximum l
og information be sure to enable the Apache  JServ log file in the main 
jserv properties file by: setting the  'log' property to tru
e, 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)

and this in the apache error_log

Apache/1.3.11 (Unix) ApacheJServ/1.1 configured -- resuming normal operations
SIGSEGV   11*  segmentation violation
SIGSEGV   11*  segmentation violation
SIGSEGV   11*  segmentation violation
SIGSEGV   11*  segmentation violation
SIGSEGV   11*  segmentation violation

I have used both Sun's Linux release and Blackdown's release of Java for 
linux 1.2.2.

I compiled jserv using this script

#!/bin/sh
./configure --prefix=/usr/local/jserv --with-apache-src=/opt/apache_1.3.11 
--enable-EAPI --with-JSDK=/usr/local/JSDK2.0/lib/jsdk.jar
  --enable-apache-conf
make
make install

and apache with this:

#!/bin/sh
echo "rebuilding apache with just mod_jserv"
./configure --prefix=/usr/local/apache 
--activate-module=src/modules/jserv/libjserv.a
make
make install

Could anyone please give me some pointers how to solve this problem?
I have grappled with it for a while already and it is driving me crazy.

Thanks!

Tim





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