Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5
-
None
Description
Log4jServletContextListener.contextDestroyed throws an IllegalStateException if contextInitialized was never called. In certain rare situations where a server startup fails due to previous errors this Exception is unnecessary.
So I suggest to now throw an Exception and instead log it as a warning and end the method gracefully.