I'm sorry I don't know what wck is :) Also I don't know of other ways to do this except to either use shell script to start tomcat and other apps and stop them together. Another option is to use the java to start and stop tomcat as an external proccesses???
sorry maybe others know of better way.. > I'm trying to use the WCK so I don't have to write a servlet. Is there > another way? > > Thanks! > > j > > > > On Mon, 27 Feb 2006, Alex Jalali wrote: > >> you could implement the destory() method of a servlet. Tomcat calles >> this >> before going down. >> >> >> >> >> > Hi, >> > >> > I have a wck implementation, which works fine. I would like to add >> caching >> > to it in order to make it snappier, but the problem I am running into >> is >> > that my cache thread is not terminated when tomcat shuts down, leaving >> me >> > to have to manually kill the server each time. Is there a hook >> someplace >> > in Tomcat to accomplish this? I've looked through the documentation >> and >> > don't see anything obvious. >> > >> > Failing that, is there a better way to do this rather than just have a >> > background thread periodically update the cache? Suggestions welcomed. >> > >> > Cheers, >> > >> > j >> > >> > >> > >> > >> > --------------------------------------------------------------------- >> > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
