How to add Datasource to JBoss EAP 6 / WildFly 8
You can add datasource element to standalone.xml or the domain.xml file of JBoss EAP 6 / WildFly 8. The following is the example of MySQL datasource element. You can use same parameter to add the datasource from management console. <datasource jta="true" jndi-name= "java:/YourDatasourceName" pool-name= "YourDatasourceName" enabled="true" use-ccm="true" > <connection-url> jdbc:mysql://localhost:3306/YourDataBaseName </connection-url> <!-- You don't need driver class for JDBC 4 compliance Driver --> <driver-class>com.mysql.jdbc.Driver</driver-class> <driver> mysql-connector-java-5.1.33-bin.jar </driver> <!-- <driver>mysql-connector-java-5.1.33-bin.jar_com.mysql.jdbc.Driver_5_1</driver> --> <transaction-isolation> TRANSACTION_READ_COMMITTED </transaction-isolation> <pool> <min-pool-size> 100 </min-pool-size> ...