So you need to restart the service from the app, not just stop it.  I
would think since the jvm Tomcat uses would disappear for a splits
second you would need to hand off control to a something non-java,
like a wsh so it can start the service afterwards.  Unless there is a
direct command you can give to Tomcat for "restart" that will handle
this for you without.
Or something like net restart <tomcat service name> if you have it
installed as a service.

Daniel

On 9/21/06, Josh Joy <[EMAIL PROTECTED]> wrote:
Try looking into JMX MBeans. They provide a lot of
this and other
functionality.

Peter Dawn wrote:
> guys,
>
> i have run into this problem. i am able to stop
tomcat from the app. but,
> 1. if i have another button to start tomcat within
the app, then that
> command is not captured as tomcat is not running and
hence the web
> application is not running
> 2. if i execute a batch file, again the stop works
but it does not
> start again.
>
> any ideas.
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to