Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP AccessLogging prevents CICS JVM from terminating #30371

Open
seshadhri-aswath opened this issue Dec 10, 2024 · 0 comments · May be fixed by #30411
Open

HTTP AccessLogging prevents CICS JVM from terminating #30371

seshadhri-aswath opened this issue Dec 10, 2024 · 0 comments · May be fixed by #30411
Assignees
Labels
in:Web Components release bug This bug is present in a released version of Open Liberty team:Sirius

Comments

@seshadhri-aswath
Copy link
Contributor

Describe the bug

Use of Liberty's HTTP AccessLogging mechanism prevents CICS JVM's from terminating.
In the AccessLogger class, a Timer instance field is initialised when the class is loaded, this causes creation of a non-daemon thread that can prevent the JVM from terminating gracefully.
Observed in the field during JVM termination in environments like z/OS.

It also appears to be unused throughout the class, leading to unnecessary resource allocation.

Steps to Reproduce
Issue a STOP to the server in environments like z/OS, taking a JAVADUMP would reveal non-daemon Timer Thread, which remains active and block a graceful termination of JVM

Expected behavior
A non-daemon thread shouldn't be spawned so that the JVM can be terminated gracefully.

Diagnostic information:

  • OpenLiberty Version: 24.0.0.9
  • Affected feature(s) accessLogging
  • Java Version: NA
@seshadhri-aswath seshadhri-aswath added in:Web Components release bug This bug is present in a released version of Open Liberty team:Sirius labels Dec 10, 2024
@seshadhri-aswath seshadhri-aswath self-assigned this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:Web Components release bug This bug is present in a released version of Open Liberty team:Sirius
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant