Oracle database helper logging DSRA8207I
too frequently
#19608
Labels
release bug
This bug is present in a released version of Open Liberty
release:22002
team:Zombie Apocalypse
Describe the bug
As a user of Liberty, JDBC, and the Oracle JDBC driver when I use third-party libraries or applications that are written in a general manner for non-specific database calls, I find that I often have an over-abundance of
DSRA8207I
messages in my messages.log file. This is caused by the library or application inappropriately callingcon.setReadOnly(false)
which the oracle driver does not support. Since this is logged each time this method is called on a connection it could lead to the messages.log file increasing to an undesirable size.Expected behavior
I would expect that this information message would be emitted once to notify the user that all method calls to
con.setReadOnly(false)
are ignored. This would align with the existing behavior ofDSRA8770I
which is also logged at the same time.Diagnostic information:
Current workaround:
Currently, I have to work around this issue by ignoring these messages using:
com.ibm.ws.logging.hideMessage=DSRA8207I
The text was updated successfully, but these errors were encountered: