You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kjr_23 <kj...@yahoo.com> on 2006/05/15 22:45:41 UTC

Java class as a Tomcat Service

I have a java service which implements Start() Run() Stop() methods that I
want started everytime Tomcat starts.  This class is part of a Tomcat
Webapp.  Seems simple but how do I accomplish this?  I am using 5.5.17 jdk
1.5.06

KR
--
View this message in context: http://www.nabble.com/Java-class-as-a-Tomcat-Service-t1623481.html#a4398844
Sent from the Tomcat - User forum at Nabble.com.


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


RE: Java class as a Tomcat Service

Posted by Tim Lucia <ti...@yahoo.com>.
See ServletContextListener: http://java.sun.com/j2ee/1.4/docs/api/index.html

Tim

-----Original Message-----
From: kjr_23 [mailto:kjr_23@yahoo.com] 
Sent: Monday, May 15, 2006 4:46 PM
To: users@tomcat.apache.org
Subject: Java class as a Tomcat Service


I have a java service which implements Start() Run() Stop() methods that I
want started everytime Tomcat starts.  This class is part of a Tomcat
Webapp.  Seems simple but how do I accomplish this?  I am using 5.5.17 jdk
1.5.06

KR
--
View this message in context:
http://www.nabble.com/Java-class-as-a-Tomcat-Service-t1623481.html#a4398844
Sent from the Tomcat - User forum at Nabble.com.


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



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