----------------------------------------------------------------
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 Mike,
I noticed that there are some problems when restarting apache+Jserv.
I am restarting like this:
./apachectrl stop
wainting for 10-20 secs.
./apachectrl start
I think that the problem is that all the Jserv threads are dying slowly
and if you start before the previous Jserv is dead you will get in the log
'port allready in use' and no start.
Sorry but i can't give you an advice how to prevent this from happening.
Best wishes,
Andras.
----- Original Message -----
From: "Mike MacAllister" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 11:27 AM
Subject: JServ will not restart
> ----------------------------------------------------------------
> 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 hope somebody here can help me.
> I am having a problem with Apache JServ 1.1.2 on Solaris 2.7 with Apache
> (Server version: Apache/1.3.12 (Unix) Server built: Jul 18 2000 09:49:58).
>
> I am trying to get Apache to start JServ automatically by setting the
> ApJServManual property to OFF. The behaviour in this case is rather pe-
> culiar: After a fresh boot of the sun machine everything works as ad-
> vertised. Apache starts and Apache JServ starts when required. However,
> when I stop and restart Apache, JServ will not restart anymore.
>
> I wrote a small script to start and stop JServ manually as described in
> the JServ FAQ. This works without any problems.
>
> These are my settings:
>
> Settings specified in httpd.conf:
> ApJServManual Off
> ApJServProperties /export/SL/sladmin/apache/jserv.properties
> ApJServLogFile /export/SL/sladmin/apache/jserv
> ApJServLogLevel debug
> ApJServDefaultProtocol ajpv12
> ApJServDefaultPort 8007
> ApJServSecretKey DISABLED
> ApJServMount /servlet /servlet
>
> Settings specified in jserv.properties:
> servlet.properties=/export/SL/sladmin/apache/servlet.properties
> pool=false
> pool.capacity=10
> pool.controller=org.apache.java.recycle.DefaultController
> security.selfservlet=false
> security.maxConnections=50
> security.authentication=false
> log=true
> 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
> log.channel.singleThreadModel=true
> log.file=/export/SL/sladmin/apache/jserv
> log.timestamp=true
> log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
> log.queue.maxage = 5000
> log.queue.maxsize = 1000
> log.channel.servletException=true
> log.channel.jservException=true
> log.channel.warning=true
> log.channel.critical=true
>
> I would appreciate any help or hints anyone might have.
>
> Thanks, Mike
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]