You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thusitha Thilina Dayaratne <th...@gmail.com> on 2015/04/07 10:43:59 UTC

[Tomcat8] Alternative for WebAppClassLoader.started

Hi,

In tomcat 7, there is a field in the WebAppClassLoader as
protected boolean started - Has this component been started?

But In Tomcat 8 this field have been remove. What is the alternative way in
Tomcat 8 for this?

Thanks
--

Re: [Tomcat8] Alternative for WebAppClassLoader.started

Posted by Mark Thomas <ma...@apache.org>.
On 07/04/2015 10:00, Thusitha Thilina Dayaratne wrote:
> Hi
> 
>> In tomcat 7, there is a field in the WebAppClassLoader as
>> protected boolean started - Has this component been started?
> 
>> But In Tomcat 8 this field have been remove. What is the alternative way
>> in Tomcat 8 for this?
> I think I can use
> 
> getState()== LifecycleState.STARTED

Correct.

Mark


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


Re: [Tomcat8] Alternative for WebAppClassLoader.started

Posted by Thusitha Thilina Dayaratne <th...@gmail.com>.
Hi

>In tomcat 7, there is a field in the WebAppClassLoader as
>protected boolean started - Has this component been started?

>But In Tomcat 8 this field have been remove. What is the alternative way
in Tomcat 8 for this?
I think I can use

getState()== LifecycleState.STARTED

Thanks


2015-04-07 14:13 GMT+05:30 Thusitha Thilina Dayaratne <
thusithathilina@gmail.com>:

> Hi,
>
> In tomcat 7, there is a field in the WebAppClassLoader as
> protected boolean started - Has this component been started?
>
> But In Tomcat 8 this field have been remove. What is the alternative way
> in Tomcat 8 for this?
>
> Thanks
> --
>
>



--