Green Mile

Add mysql module to wildfly application server:

1. Go to wildfly-8.0.0.Finalmodulessystemlayersbasecom
2. Create folder like “sqlmysqlmain” and go to sqlmysqlmain
3. Place mysql connector jar to main folder
4. Place module.xml file to main folder

Add datasource to wildfly configuration file

1. Go to C:Program Fileswildfly-8.0.0.Finalwildfly-8.0.0.Finalstandaloneconfiguration
2. Open standalone.xml file (we assume you are using standalone.xml as server configuration file)
3. Add following code to datasources section

Hope this will work.

View original post

Advertisements