How to add / remove a JDBC Module, Driver and JNDI mapping Using CLI in JBoss EAP 6
Issue
-
How to add / remove a JDBC Module, Driver and JNDI mapping Using CLI in JBoss EAP 6?
-
Unable to create the module for the driver using the JBoss CLI command in EAP 6 domain mode. Facing the below error:
[domain@127.0.0.1:9999 /] module add --name=com.oracle.jdbc --resources=/path/to/ojdbc6.jar --dependencies=javax.api,javax.transaction.api The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable).
Environment
- RedHat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.