----------------------------------------------------------------
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,
it seems to me like the apache (especially the mod_jserv?) needs some time to go
down - especially if you use more virtual hosts and servlets zones it can last a
longer time (sometimes evene more than a second) until the server is really down
and you don't find any process (ps awx | grep java or grep http) While the
processes still are active you can't start a new jserv - thats why you get the
exception, I think. That's why we also decided to do the stop/pause/start in
stead of using the restart option.
Greetings
Rupert
Mark van Bragt wrote:
> ----------------------------------------------------------------
> 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,
>
> For some reason I experienced the same problem.
> When I need to restart the Apache server now a days I use ./apachectl stop
> and after that a ./apachectl start and that works without a problem
> simply made an program which is named for instance: apache-restart and make
> this very simple sh script:
>
> --------------------------------------------------------
> #!/bin/sh
> /usr/local/apache/bin/apachectl stop
> sleep 1
> /usr/local/apache/bin/apachectl start
> --------------------------------------------------------
>
> Works just fine.
> Greetings,
> Mark
>
> ----- Original Message -----
> From: Tim Stoop <[EMAIL PROTECTED]>
> To: Java Apache Users <[EMAIL PROTECTED]>
> Sent: Wednesday, May 10, 2000 11:49 AM
> Subject: apachectl restart gives error?
>
> > ----------------------------------------------------------------
> > 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 people,
> >
> > 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
> >
> > Kind regards,
> > Met vriendelijke groet,
> > Tim Stoop
> >
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > 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]
> >
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]