Yes Aaron, I did put that in the web.xml to start the Remote cache server when tomcat starts. Thanks Doug On Thu, 25 Jan 2007, Smuts, Aaron wrote:
> How are you starting it up? > > JCS provides a servlet for this. Add this to your web.xml > > <servlet> > <servlet-name>JCSRemoteCacheStartupServlet</servlet-name> > <servlet-class> > > org.apache.jcs.auxiliary.remote.server.RemoteCacheStartupServlet > </servlet-class> > <load-on-startup>1</load-on-startup> > </servlet> > > There are other better ways to do it though. However you do it, you > need to shutdown the remote cache. > > > > -----Original Message----- > > From: Duc Ly [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 25, 2007 1:02 PM > > To: jcs-users@jakarta.apache.org > > Subject: JCS Remote Server Shutdown Issue > > > > Hello experts, > > I deployed the JCS remote server in a tomcat container and be able to > > start as well as use the remote cache. > > One problem I am encountering now is shutdown of Tomcat will not lead > to > > the shutdown of JCS remote server. > > When I shutdown tomcat and do a 'ps' I still see the java instance > running > > and TCp port (default 1101) used by JCS remote server still opens > > (LISTENING state). > > I have used the JCSAdmin.js[ page to remove all caches before I > shutdown > > tomcat. > > > > Please explain what I could do, thanks. > > > > Regards, > > > > Doug > > > > -- > > > > -------------------------------------------------------------------- > > Public key : http://www.cs.uh.edu/~dmly > > or http://www.keyserver.net > > > > --------------------------------------------------------------------- > > 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] > -- -------------------------------------------------------------------- Public key : http://www.cs.uh.edu/~dmly or http://www.keyserver.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]