----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Ben Ricker wrote:
>
>
>
> The problem is not Jserv (since it stops when Apache does) but your JVM.
Same thing.
> You must have either started the JVM manually or you have a bad servlet
> thread or DB connection that causes the JVM to think it is still
> processing something.
No, we have the same problem and we're not starting jserv manually.
>
> You need to kill the actual JVM process after killing Apache.
That's what he was doing.
>
> Ben Ricker
> Senior Web Administrator
> US-Rx, Inc.
>
> Henry Marcucella wrote:
>
> > When I execute the command "/etc/rc.d/init.d/http stop", Apache does not
> > shut down Jserv. Then when I start apache "/etc/rc.d/init.d/http start", I
> > get the error:
> >
> > ApacheJServ/1.1.2: Exception creating the server socket:
> > java.net.BindException: Address already in use
> >
> > because the Jserv is running on that port. If I manually kill Jserv after
> > the Apache shutdown, then I don't get the error and Jserv is started fine.
> >
> > On my previous Apache/Jserv installation on Linux 5.2, Apache stopped Jserv
> > when it shut down. On my latest installation, Apache/1.3.12 with
> > ApacheJServ-1.1.2 on Linux 6.2, Apache leaves Jserv running when it shuts
> > down.
> >
> > How can I get Apache to stop Jserv when Apache is stopped
> > (/etc/rc.d/init.d/http stop)?
> >
> > Any help would be much appreciated. Thanks
> > Henry
>
> --
> --------------------------------------------------------------
> 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]