Perhaps you could simply let your listener method run a shell script?

String[] command = {"/etc/init.d/tomcat", "restart"};
Runtime.getRuntime().exec(command);

But, Tomcat restarting itself from a web ui? You should ask your client why he believes he needs this... :)

On Fri, 22 Sep 2006 00:51:58 +0200, Peter Dawn <[EMAIL PROTECTED]> wrote:

doesnt matter. the security risk is the responsibility of the client,
if they want it then I will implement it. I will make them aware of
the risks too.

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

Reply via email to