Failed to create JDBC driver module in JBoss EAP 6
Issue
- Tried to create JDBC driver module using below CLI command, but it fails with exception:
module add name=com.oracle.jdbc resources=/home/user/jboss-eap-6.1/modules/oracle/jdbc/ojdbc6.jar dependencies=javax.api,javax.transaction.api
The command accepts 1 unnamed argument(s) but received: [add, name=com.oracle.jdbc, resources=/appl/jboss-eap-6.1/modules/oracle/jdbc/main/ojdbc6.jar, dependencies=javax.api,javax.transaction.api]
Environment
- Red Hat JBoss Enterprise Application Platform(EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
