db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Burlison <Alan.Burli...@sun.com>
Subject Re: Shutdown cleanly embedded derby when tomcat shutdown ?
Date Fri, 11 Jul 2008 09:49:36 GMT
Albert Kam wrote:

> I use this resource in the webapps/mywebapp/META-INF/context.xml to shutdown
> derby (so in the context.xml, i got 2 datasources, 1 is the normal
> datasource, and this one is to shut derby down):

Another alternative:

http://auth.opensolaris.org/svn/showfile.svn?path=%2ftrunk%2fAuthWebapp%2fsrc%2fjava%2forg%2fopensolaris%2fauth%2fwebapp%2fservlet%2fAuthListener.java&revision=HEAD&name=auth

-- 
Alan Burlison
--

Mime
View raw message