----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Just write a script that stops Apache, greps ps for java, finds the lowest
PID and issues kill -SIGKILL to it, then starts apache back up. This will
restart the server and kill the JVM.
Ben Ricker
On Thursday 19 October 2000 08:55, you wrote:
> Mike Baroukh wrote:
> > If the ApJServManual is to off, there it's automatically apache that
> > start/restart JServ or, more preciselly, all zones that are defined
> > in jserv.properties used by apache.
> > Int this mode, you're nor able to start JServ by yourself.
>
> Unfortunately, Apache also fails to start JServ. Once I stop Apache for
> any reason and restart it it will not restart JServ. The port will still
> be in use and I think it shouldn't be. (I wait a couple of minutes before
> restarting Apache).
>
> > If you use any zone as standalone (so at a different port that jserv's
> > default one) then you're abble to stop or start it manually but apache
> > is then not able to do it.
>
> The manual start and stop work fine from a script
>
> > > means if the customer stops our software, which also stops the HTTP
> > > server (Apache), he can't start them again because for some reason
> > > the automatic start of JServ fails.
> >
> > If ApJservManual is on, the stop/start/restart should work !
> > Are they in this case ???
>
> Yes, they do but I want Apache to control JServ instead of having to
> start/stop/restart manually.
>
> > > The only way to do this seems to be to have the script that starts
> > > Apache for us also start JServ.
> >
> > So, for ApJservManual is off.
> > In this mode, I also have a problem for restarting JServ.
> > I made a script that kills processes ...
>
> Oddly enough, there are no identifyable processes left after Apache
> is stopped but the restart of JServ still fails. I use 'ps' with 'grep
> jsdk' and 'grep jre' to find them but there are none!
>
> Mike
--
Ben Ricker
Web Administrator
US-Rx, Inc.
Voice: (314) 641-3032
Pager: (314) 407-1526
--
--------------------------------------------------------------
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]