I'm having problems keeping JServ running. Starting it automatically doesn't
work at all so I start it manually using the script from Ari's web page as
follows.

#!/bin/sh
# Launch jserv in manual mode.
jsdk=/web/java/lib/jsdk.jar
jserv=/web/java/lib/Apache-JServ.jar
jdbc=/web/java/lib
props=/web/apache/conf/jserv.properties
log=/web/apache/logs/jserv.log
classes=$jsdk:$jserv:$jdbc
/usr/java1.2/bin/java -classpath $classes org.apache.jserv.JServ $props &>
$log

It starts okay, but after a while I get Internal server errors and have to
stop it and restart it. There is nothing in the error log. The only clue I
have is some errors that came up on the console while I happened to be
logged in.

thr_continue of 0xecba0740(8) failed: 3 = ESRCH.
thr_continue of 0xecba0740(8) failed: 3 = ESRCH.
thr_continue of 0xebfe0aa0(8) failed: 3 = ESRCH.
thr_continue of 0xebfe0aa0(8) failed: 3 = ESRCH.
thr_continue of 0xebfe0d98(0) failed: 3 = ESRCH.
Bus Error
    si_signo [10]: Bus Error
    si_errno [0]: Error 0
    si_code [1]: BUS_ADRALN [addr: 0x26]

        stackpointer=EFFFE740

Does this mean anything to anybody?

I'm running on Solaris 2.6 with the JDK1.2, JServ 1.0b3 and Apache 1.3.4. My
configuration files are included below. Any help or suggestions are greatly
appreciated.

-Sean Hammon
-Webmaster

############################################################################
###
#                     Apache JServ Configuration File
#
############################################################################
###

ApJServManual on
ApJServProperties /web/apache/conf/jserv.properties
ApJServLogFile /web/apache/logs/jserv.log
ApJServDefaultProtocol ajpv11
ApJServDefaultPort 8007
ApJServSecretKey DISABLED

ApJServMount /java /public
ApJServMount /private /private
ApJServMountCopy on

<Location /jserv/>
  SetHandler jserv-status
  
  order deny,allow
  deny from all
  allow from viewpoint.com
</Location>

###################################
#  Apache JServ Properties File   #
###################################

wrapper.bin=/usr/java1.2/bin/java
wrapper.class=org.apache.jserv.JServ

wrapper.classpath=/web/java/lib/Apache-JServ.jar
wrapper.classpath=/web/java/lib/jsdk.jar
wrapper.classpath=/web/java/lib/twz1
port=8007
zones=public,private
public.properties=/web/apache/conf/public.properties
private.properties=/web/apache/conf/private.properties

security.maxConnections=50
security.allowedAddresses=127.0.0.1
security.authentication=false
security.challengeSize=5
log=true
log.file=/web/apache/logs/jserv.log
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz] 
log.channel.init=false
log.channel.terminate=false
log.channel.serviceRequest=false
log.channel.authentication=false
log.channel.requestData=false
log.channel.responseHeaders=false
log.channel.signal=false
log.channel.exceptionTracing=true
log.channel.servletManager=false

############################################################################
###
#                        Servlet Zone Configuration File
#
############################################################################
###
# note: public.properties and private.properties are identical

repositories=/web/java/servlets

autoreload.classes=true
autoreload.file=true
init.timeout=10000
destroy.timeout=10000
session.timeout=1800000
session.checkFrequency=30000
singleThreadModelServlet.initialCapacity=5
singleThreadModelServlet.incrementCapacity=5
singleThreadModelServlet.maximumCapacity=10

servlets.startup=InitThreads


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to