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

> > Seems like every time I restart Apache using the "restart"-command from
> > apachectl, an error occurs with JServ. My JServ.log keeps giving the error:
> > ApacheJServ/1.0: Exception creating the server socket:
> > java.net.BindException: Address already in use
> > Repeading. About every few minutes. What's wrong here?? How can I restart my
> > server so I won't get this error? Btw, when I get this error, he won't log
> > any other error anymore. I use restart for my logrotate, because I need to
> > keep the ssl working... Any ideas??
> > 
> > Using: Apache 1.3.12, JDK1.2.1, JSDK2.0 (of course) and JServ 1.1
> 
> You definately should be wary when using the restart directive, as it
> takes some time to kill jserv. I found that even after stop has been
> given to apachectl, I still have java and TCP sockets hanging around for
> nearly 30 seconds! It has caused some problems when restarting our
> production server and getting weird servlet behaviors (DB network
> adaptor errors, ORA errors, etc.).

I recently have gotten into the habit of restarting apache with "apachectl
graceful."  This probably wouldn't give enough time, but maybe there is
something in the apachectl script which can give you some time.

Duane



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