On 13/07/2016 12:14, Amit Pande wrote:
> It seems the stateName attribute of MANAGER or WEBMODULE Mbean is NOT
> getting set correctly if there are any servlet errors.
> 
> In particular, when Spring dispatcher servlet is failed to load then the
> applications state should be STOPPED. However, that does not seem to be
> the case.
> 
> I even checked the SERVLET Mbean as well did not see the expected state.
> 
> Is there anything wrong that I am doing ?

Yes.

You are making assumptions based on how you think Tomcat should behave
rather than reading the documentation that tells you how Tomcat actually
behaves.

Look in the Context and Host docs for the attribute named:
failCtxIfServletStartFails

> Is this a BUG ?

No.

> Using Tomcat 8.0.30.

Thanks. Not everyone remembers that.

Mark


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

Reply via email to