IBM / JTOpen

IBM Toolbox for Java, an IBM i communications library
https://ibm.github.io/JTOpen/
Other
56 stars 26 forks source link

JDBC connection problems when both secure port and secure=true specified. #178

Closed jeber-ibm closed 1 month ago

jeber-ibm commented 2 months ago

Recreate.

$ java -Djavax.net.ssl.trustStore=cacerts -jar /QIBM/Proddata/os400/jt400/lib/jt400.jar 'jdbc:as400:localhost:9471;secure=true' Warning: Exception 'java.sql.SQLNonTransientConnectionException: The application requester cannot establish the connection. (Unable to connect to the port.)' connecting to jdbc:as400:localhost:9471;secure=true using null

jeber-ibm commented 1 month ago

Corresponding test issue is https://github.com/IBM/JTOpen-test/issues/100

jeber-ibm commented 1 month ago

Problem only exists in newer code. Changes made with pull request 184.