You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by risky57 <ri...@hotmail.com> on 2007/04/19 20:49:35 UTC

How Do I know when Tomcat Embedded has started?

Currently the output ends with 

"INFO: Starting Coyote HTTP/1.1 on http-8080"


how do i get output to tell me that Tomcat has started?
check to see if it has started?


like in regular tomcat, when its complete, it says something like "started
in 11s"  or something similar.


i want something to happen when tomcat has started, and not before. so need
to know when its started.


-- 
View this message in context: http://www.nabble.com/How-Do-I-know-when-Tomcat-Embedded-has-started--tf3609049.html#a10084449
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: How Do I know when Tomcat Embedded has started?

Posted by Bill Barker <wb...@wilshire.com>.
"risky57" <ri...@hotmail.com> wrote in message 
news:10084449.post@talk.nabble.com...
>
> Currently the output ends with
>
> "INFO: Starting Coyote HTTP/1.1 on http-8080"
>
>
> how do i get output to tell me that Tomcat has started?
> check to see if it has started?
>
Assuming that you are using the Embedded class (as opposed to, say, JMX 
embedding), then Tomcat has started when the start method of Embedded 
returns without throwing an Exception.

>
> like in regular tomcat, when its complete, it says something like "started
> in 11s"  or something similar.
>
>
> i want something to happen when tomcat has started, and not before. so 
> need
> to know when its started.
>
>
> -- 
> View this message in context: 
> http://www.nabble.com/How-Do-I-know-when-Tomcat-Embedded-has-started--tf3609049.html#a10084449
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 




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