tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Benussi" <mark_benu...@hotmail.com>
Subject Re: Placing a LifecycleListener in my server.xml
Date Wed, 27 Jul 2005 10:51:21 GMT
Thanks Darryl but I need to implement a LifecycleListener. You have 
implemented a ServletContextListener which only gets called when the Content 
is started. I need to know when its finished, which is why I am using a 
LifecycleListener which should be placed in the server.xml

----Original Message Follows----
From: "Darryl L. Miles" <darryl@netbauds.net>
Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
To: Tomcat Users List <tomcat-user@jakarta.apache.org>
Subject: Re: Placing a LifecycleListener in my server.xml
Date: Wed, 27 Jul 2005 11:47:17 +0100

Mark Benussi wrote:

>Anyone have any ideas where on earth I put my class that implements the
>LifecycleListener (In a jar in my WEB-INF/lib) as I don't seem to have a
>context in my server.xml.
>
>
The context is in WEB-INF/web.xml

as its a webapp specific listener, NOT a global server thing.

See my article http://www.hibernate.org/301.html as an example (when used 
with hibernate)

--
Darryl L. Miles



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message