Why am I having database connection pool failures when using JBoss EAP Vault
Issue
- My JBoss EAP connection pool works without issue when I place my password directly into the configuration file but fails when I place it into a vault and reference the vault.
- Getting the following exceptions when attempting to use a vault to contain my JBoss EAP connection pool password:
13:17:54,708 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (http-mlth038.sfdc.sbc.com/130.9.132.141:8844-3) IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: Could not create connection at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:288)
... more
Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
... more
13:17:54,712 INFO [stdout] (http-mlth038.sfdc.sbc.com/130.9.132.141:8844-3) e = [java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/jdbc/cheetta]
13:17:54,712 ERROR [stderr] (http-mlth038.sfdc.sbc.com/130.9.132.141:8844-3) java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/jdbc/cheetta
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- EAP 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.