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

Improve the connection pool lookup messages #25270

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

dmiya3
Copy link
Contributor

@dmiya3 dmiya3 commented Dec 5, 2024

I would like to change the log level of the following message from WARNING to INFO because this warning is printed in the server log even though the lazy-loading works as expected.

[2024-12-05T12:26:39.599471+09:00] [GF 7.0.20] [WARNING] [] [jakarta.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service] [tid: _ThreadID=104 _ThreadName=pool-18-thread-1] [levelValue: 900] [[
  Probably the pool org.glassfish.resourcebase.resources.api.PoolInfo@fdae7f48[jndiName=MyPool1, applicationName=null, moduleName=null] is not yet initialized (lazy-loading), trying to check ...]]

I would also like to make the messages a little better when the lookup ultimately fails, so it's easier for those unfamiliar with the internal work (two lookups, accounting for lazy-loading) to understand.

Signed-off-by: dmiya3 [email protected]

@dmatej dmatej added the enhancement New feature or request label Dec 6, 2024
@dmatej dmatej added this to the 7.0.21 milestone Dec 6, 2024
@dmatej dmatej merged commit 71df878 into eclipse-ee4j:master Dec 11, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants