Details
-
Bug
-
Resolution: Fixed
-
None
-
1.6.x
-
None
-
Operating System: Windows NT
Platform: PC
-
blocker
-
P1
-
261
Description
Scenario: A web application running inside Glassfish 3.1.1.
To avoid any external dependencies we have settled for using the JDK14 implementation to delegate logging to the web container. Works well.
To avoid memory issues when redeploying (which happens every time a resource change) we do not use static fields for loggers but instance fields.
Unfortunately the JDK14Adapter is not serializable which result in that the session object cannot be saved across redeployments, causing the current user to be logged out.
The attached junit test pass when using slf4j-simple, and fail when using slf4j-jdk14.