On 02/11/2010 22:05, Len Popp wrote:
> I would use a ServletContextListener. It gets notified when the webapp
> is initialized and destroyed.

+1
init happens before servlets shutdown, destroy happens after.


p

> --
> Len
> 
> 
> 
> On Tue, Nov 2, 2010 at 14:53, Leo Donahue - PLANDEVX
> <leodona...@mail.maricopa.gov> wrote:
>> http://j-integra.intrinsyc.com/support/com/doc/gc/index.html
>>
>> #4 com.linar.jintegra.Cleaner.releaseAll();
>>
>> Can Tomcat call this method prior to shutting down as a windows service?  If 
>> so where would I configure this?
>>
>>
>>
>>
>> JSF 1.2 (Sun RI) mojarra-1.2
>> Tomcat running as a windows service
>>
>> Using CATALINA_BASE:   "C:\apache-tomcat-6.0.29"
>> Using CATALINA_HOME:   "C:\apache-tomcat-6.0.29"
>> Using CATALINA_TMPDIR: "C:\apache-tomcat-6.0.29\temp"
>> Using JRE_HOME:        "C:\Program Files\Java\jdk1.6.0_20"
>> Using CLASSPATH:       "C:\apache-tomcat-6.0.29\bin\bootstrap.jar"
>> Server version: Apache Tomcat/6.0.29
>> Server built:   July 19 2010 1458
>> Server number:  6.0.0.29
>> OS Name:        Windows 2003
>> OS Version:     5.2
>> Architecture:   x86
>> JVM Version:    1.6.0_20-b02
>> JVM Vendor:     Sun Microsystems Inc.
>>
>> Leo Donahue
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to