[jbossts-issues] [JBoss JIRA] (JBTM-3000) Support for Oracle Wallet JDBC connections

Daniel Shaver (JIRA) issues at jboss.org
Tue Mar 13 14:21:00 EDT 2018

Daniel Shaver created JBTM-3000:

             Summary: Support for Oracle Wallet JDBC connections
                 Key: JBTM-3000
                 URL: https://issues.jboss.org/browse/JBTM-3000
             Project: JBoss Transaction Manager
          Issue Type: Feature Request
            Reporter: Daniel Shaver
            Priority: Optional

In the latest snapshot build, Narayana will replace a null username and/or password with empty strings (""). The Oracle JDBC driver, however, supports passing in null username and password, in order to make use of Oracle Wallet.

This means that Narayana does not support Oracle Wallet JDBC connections.

This replacement is being done in com.arjuna.ats.internal.jdbc.ConnectionImple. 

            user = info.getProperty(TransactionalDriver.userName, "");
            passwd = info.getProperty(TransactionalDriver.password, "");

and in com.arjuna.ats.internal.jdbc.ConnectionManager

        String user = info.getProperty(TransactionalDriver.userName, "");
        String passwd = info.getProperty(TransactionalDriver.password, "");

I believe it should be okay to just remove default value so that the client's input is always taken as-is.

I was able to successfully build test this change out locally, using OJDBC and Oracle UCP running in a spring boot/tomcat container.

This message was sent by Atlassian JIRA

More information about the jbossts-issues mailing list