there is a script as well: https://github.com/apache/commons-jcs/blob/7f1ab60f7c1a30eb09cb06f23d6f010e3a187274/src/scripts/startRemoteCache.sh (should be packaged in the full distribution even if I didnt check lately).
up to you to embedded it or not. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-11-30 21:07 GMT+01:00 sgjava <[email protected]>: > So all I have to do is add: > > <servlet> > <servlet-name>JCSRemoteCacheStartupServlet</servlet-name> > <servlet-class> > > org.apache.commons.jcs.auxiliary.remote.server.RemoteCacheStartupServlet > </servlet-class> > <load-on-startup>1</load-on-startup> > </servlet> > > > <servlet-mapping> > <servlet-name>JCSRemoteCacheStartupServlet</servlet-name> > <url-pattern>/jcs</url-pattern> > </servlet-mapping> > > to web.xml and it's good to go for Java EE? What is the servlet mapping > used > for? > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/JCS-JCache-replication-tp4677031p4677037.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
