steps to create datasource in Jboss eap

You need to create oracle\jdbc\main folder under modules and keep the module.xml and ojdbc6.jar there   module.xml   <?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.0" name="oracle.jdbc"> <resources> <resource-root path="ojdbc6.jar"/> </resources> <dependencies> <module name="javax.api"/> <module name="javax.transaction.api"/> </dependencies> </module> In standlone.xml / domain.xml you need to add the datasource and driver entry <datasource jndi-name="java:jboss/datasources/OracleDS"

Continue reading »