jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Poce <edgarp...@gmail.com>
Subject Re: shutting down repository obtained from jndi via spring
Date Fri, 07 Oct 2005 01:33:35 GMT
Hi brian

Brian Moseley wrote:
> yeah, i can do that, but it breaks "webapp encapsulation". deploying my 
> webapp is no longer as simple as setting up the repository as a global 
> naming resource and then having an implementation-agnostic webapp.

I've just found that Tomcat includes a LifeCycleListener that listens 
engine, host and context lifecycle events. I guess that a custom 
LifeCycleListener would be the right way to start and shutdown 
jackrabbit in tomcat.


View raw message