Liberty message.log has repeating servlet lifecycle messages #18411
Labels
in:Web Components
release bug
This bug is present in a released version of Open Liberty
release:210011
team:Sirius
Projects
Describe the bug
The following messages appear many times in the Liberty log for certain apps that use JSP with a TLD file, beginning with 21.0.0.7.
SRVE0242I: [ ... ] Initialization successful.
SRVE0253I: [ ... ] Destroy successful.
Each time a JSP is accessed, if included files have been updated since last compile it causes a new JSP compile. This will cause the message: SRVE0253I: [ ... ] Destroy successful. The issue being fixed is that a TLD file under /WEB-INF in the war isn't being checked correctly, causing it to appear to always be out of date, therefore causing the JSP to compile every time it is accessed and resulting in a SRVE0253I. In a heavily used app, the SRVE0253I might cause excessive logging due to the frequency of its occurrence. The issue happens when the following is set: <applicationManager autoExpand="false"/>.
Steps to Reproduce
Expected behavior
In the above scenario, message SRVE0253 should not occur.
The text was updated successfully, but these errors were encountered: