Opensource project to resource management
hurraa/configWildfly8.sh
Get MySQL Module for WildFly here and unpack in "WILDFLY_HOME/modules/", in the end you should have a structure like this "WILDFLY_HOME/modules/com/mysql/main" verify this structure before following the next steps
Like the following video shows: http://www.youtube.com/watch?v=l1daP7PZxNA#t=2729 After 45 minutes
After General Configuration section:
<datasource jndi-name="java:/hurraaDS" pool-name="hurraaDS" enabled="true" use-java-context="true">
<connection-url>jdbc:mysql://localhost:3306/hurraa</connection-url>
<driver>com.mysql</driver>
<pool>
<min-pool-size>10</min-pool-size>
<max-pool-size>100</max-pool-size>
<prefill>true</prefill>
</pool>
<security>
<user-name>root</user-name>
</security>
</datasource>
<drivers>
<driver name="com.mysql" module="com.mysql">
<xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
</driver>
</drivers>
Create a env variable WILDFLY_HOME for arquillian.xml config
export WILDFLY_HOME=/your_path_to/wildfly-8.1.0.Final
WILDFLY_HOME=/your_path_to/wildfly-8.1.0.Final/