I am attempting to configure a MySql Database to be deployed on jas 7 using the jboss-as-maven-plugin. I am having trouble setting it up and my persistence unit doesn't seem to detect the datasource. is there any examples of MySql datasource deployment using the plugin only? Thank you in advance
I wish to deploy my datasource to the java:global/datasources/XXXX namespace. I am also deploying a mysql connector jar to the server with the name mysql.jar.
The MySQL driver isn't JDBC 4 compliant so it can't just be deployed like that unfortunately. There is some information about MySQL configuration here Data Source Configuration in AS 7. There are also some examples in the jboss-as-maven-plugin documentation to show how to add resources.
James R. Perkins