On 11 Aug 2003 at 16:22, Sylvain Wallez wrote: > Joerg Heinicke wrote: > > > IIRC it's a Jetty /feature/. Tomcat does not do this. > > > Yes, because Jetty creates a different temporary directory at each > run, while Tomcat always uses the same.
So the solution, for Jetty at least then, is to make the path to the work directory absolute (in cocoon.xconf), rather than relative to the context temp dir, which can change. But unfortunately that doesn't explain my CLI problem :-( Regards, Upayavira > >> I've just done a further check which makes this problem easier to > >> see: 1) add the <cache><parameter name="store" > >> value="org.apache.excalibur.store.Store"/> </cache> thing to > >> cocoon.xconf. 2) Start Cocoon in Jetty 3) Load a page to get > >> something into the cache, e.g: > >> http://localhost:8888/samples/hello-world/ 4) Go to > >> http://localhost:8888/samples/status.html and you'll see your pages > >> in the default store. Correct. 5) Shut down Jetty and restart 6) Go > >> back to http://localhost:8888/samples/status.html and you're pages > >> have disappeared from the default store. Surely this is wrong! > > > > Sylvain > > -- > Sylvain Wallez Anyware Technologies > http://www.apache.org/~sylvain http://www.anyware-tech.com { > XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } > Orixo, the opensource XML business alliance - http://www.orixo.com > >
