-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.4.0.CR2
-
None
-
Release Notes
-
-
+
-
-
Documented as Resolved Issue
-
Verified in a release
-
Workaround Exists
-
When using JDBC with HA (Shared Store), the username and password configured in the tags jdbc-user, jdbc-password are ignored.
It only works with jdbcConnectionURL. So, if the credentials are specified there, it works fine.
This works:
<database-store> <jdbc-connection-url>jdbc:mysql://user:password@localhost:3306/data</jdbc-connection-url> <jdbc-connection-url>jdbc:sqlserver://host:1433;databaseName=db;user=user;password=password</jdbc-connection-url> ....
This does not work:
<jdbc-connection-url>jdbc:sqlserver://host:1433;databaseName=db</jdbc-connection-url>
<jdbc-user>user</jdbc-user>
<jdbc-password>password</jdbc-password>
- is cloned by
-
ENTMQBR-3098 JDBC HA shared store does not take credentials from the jdbc-user and jdbc-password tags
- Closed