Jörn Gersdorf created ARIES-1550:
------------------------------------
Summary: aries-transaction-jdbc: Calls to getConnection() with
null user and password
Key: ARIES-1550
URL: https://issues.apache.org/jira/browse/ARIES-1550
Project: Aries
Issue Type: Bug
Components: Transaction
Affects Versions: transaction-jdbc-2.1.1
Reporter: Jörn Gersdorf
This is a follow-up to ARIES-1171.
aries-transaction-jdbc can wrap a "normal" DataSource with pooling
functionality. If that happens, it calls DataSource.getConnection(String,
String) with null user/password (in case {{aries.xa.username}} and/or
{{aries.xa.password}} are not set.
In some {{DataSource}}-implementations this causes a NPE, e. g. DB2. Derby and
H2 for example also work with null parameters.
A fix similar to ARIES-1171 is proposed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)