Re: Restart tomcat from within tapestry
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 and AntiResourceLocking context flags are not real solutions to paraphrase one Tomcat commiter. So restarting the service is the preferred option. (The jars getting locked were js-cook-menu_1.21.jar and derby.jar, not any Tapesty jars) On 9/21/06, Peter Dawn [EMAIL PROTECTED] wrote: guys, i want the ability to restart tomcat from within my web app. i want to provide a button, which the user clicks and it restarts tomcat. can somebody tell me how should i go about this. i am using tap3. thanks. - 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]
Re: Restart tomcat from within tapestry
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]
Re: Restart tomcat from within tapestry
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]
Re: Restart tomcat from within tapestry
am using windows. so whats the location then. thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]