JTOpen Toolbox driver 11.1 JDBC connections fail from Open Liberty to IBM i #23690
Labels
release bug
This bug is present in a released version of Open Liberty
release:23001
team:Zombie Apocalypse
Describe the bug
When using the IBM JTOpen toolbox driver 11.1 to establish a JDBC connect with an IBM i system, the connection fails with the following error:
{exception=The application server rejected the connection. (Password is not set.) DSRA0010E: SQL State = 08004, Error Code = -99,999, id=jdbc/database}
and stacktrace:
This problem was initially reported against the JTOpen team here, but they determined their change to deprecate setPassword(String) and replace it with setPassword(char[]) exposed a hole in our code to be able to handle char[] values for passwords sent into our com.ibm.ws.jdbc.internal.JDBCDriverService.setProperty() method.
This worked fine in JTOpen 11.0 and earlier.
Steps to Reproduce
Use the JTOpen toolbox driver 11.1 (or newer) and attempt to connect to an IBM i system using the JTOpen setPassword(char[]) method.
Expected behavior
The correct password value be used an allow the connection to complete successfully.
Diagnostic information:
server.xml
The text was updated successfully, but these errors were encountered: