Testing datasource pool connections using CLI in JBoss EAP
Issue
- Test JDBC connection to the data source through the JBoss CLI command for standalone or domain configuration
- Verify database connectivity for JBoss EAP
- When we are trying to test DB connection we are getting below error:
"WFLYJCA0040: failed to invoke operation: WFLYJCA0042: failed to match pool. Check JndiName: java:/databasename"
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.