Re: Attach listener to tomcat startup

2009-09-16 Thread Mark Thomas
joea88 wrote:
 I need to run some processes which access own server, so I need to know when
 the tomcat has fully started and ready to serve. 
 
 I tried Servlet and doesnt work. There must be some interface or class
 notify when the server has started.

Take a look at the first few entries in server.xml
That should give you enough hints to get started.

Mark




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



Re: Attach listener to tomcat startup

2009-09-16 Thread Ken Bowen

Use a ServletContextListener

On Sep 16, 2009, at 12:28 AM, joea88 wrote:



I need to run some processes which access own server, so I need to  
know when

the tomcat has fully started and ready to serve.

I tried Servlet and doesnt work. There must be some interface or class
notify when the server has started.

Anyone come across this situation?
--
View this message in context: 
http://www.nabble.com/Attach-listener-to-tomcat-startup-tp25465762p25465762.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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




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



Attach listener to tomcat startup

2009-09-15 Thread joea88

I need to run some processes which access own server, so I need to know when
the tomcat has fully started and ready to serve. 

I tried Servlet and doesnt work. There must be some interface or class
notify when the server has started.

Anyone come across this situation?
-- 
View this message in context: 
http://www.nabble.com/Attach-listener-to-tomcat-startup-tp25465762p25465762.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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