https://bz.apache.org/bugzilla/show_bug.cgi?id=57700

--- Comment #7 from Violeta Georgieva <violet...@apache.org> ---
(In reply to Mark Thomas from comment #5)
> I'm wary of changing the order since it might break something else. How about 
> a
> finally block?

+1

(In reply to Remy Maucherat from comment #6)
> I agree it will have side effects, like maybe mapping requests while the
> context is being deployed ? A finally seems better but even that would still
> change the current behavior (previously requests would never be mapped to
> the failed context), although maybe the right way.

The implementation is such that if the application is not started then
MapperListener will just be added as Container and Lifecycle Listener but a
registration of the context/wrappers will not happen. 
(org.apache.catalina.mapper.MapperListener.containerEvent(ContainerEvent)
row 148 & 151)

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to