tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <>
Subject Re: Initialize something once when deploying war file
Date Wed, 04 Jul 2007 10:10:58 GMT
use a <listener/> inside web.xml. They get notified when starting and
stopping webapplication
En l'instant précis du 04/07/07 11:49, Trumml s'exprimait en ces termes:
> I'm using JBoss 327 with Tomcat 5.
> My applications running inside JBoss (Tomcat) need some kind of "runtime
> initializing". For example when a MBean is deployed, inside the start()
> method my runtime will be initialized.
> How can I achieve this with a WAR file? I want to call a method once when my
> WAR file is deployed.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message