Re: Restart tomcat from within tapestry

2006-09-21 Thread Daniel Jue
Windows, with tomcat installed as a service (And that service probably runs as SYSTEM)? H. You could do it with pstools from Sysinternals.com. You could also probably do it from a net command http://technet2.microsoft.com/WindowsServer/en/library/03928250-2796-4253-8fb1-b25329ddf35f1033.mspx

Re: Restart tomcat from within tapestry

2006-09-21 Thread Peter Dawn
am using windows. so whats the location then. thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Restart tomcat from within tapestry

2006-09-21 Thread Martin Strand
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:5

Re: Restart tomcat from within tapestry

2006-09-21 Thread Peter Dawn
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:

Re: Restart tomcat from within tapestry

2006-09-21 Thread Daniel Jue
That would be nice to do if possible, although it would be a huge security risk. I would like it since at the moment I don't have service restart privileges on some servers. =) On a related note, I've been battling jar locking problems when hot deploying my web app on Tomcat. The AntiJARLocking