3 Replies Latest reply on May 9, 2014 4:51 PM by Charles Odili

    Can't Use MySQL Datasource

    Charles Odili Apprentice

      I have not been able to successfully deploy a MySQL datasource to EAP 6.2.0 and WildFly 8.0.0 and I don't know what the problem is. I created a com/mysql/main directory under the modules directory of the server, and placed mysql-connector-java-5.0.8.jar and a module.xml file there.

      Then, I aded a datasourse configuration to standalone.xml, but cannot start any of the servers without the following errors:


      EAP server :

      JBAS014775: New missing/unsatisfied dependencies:

      service jboss.jdbc-driver.mysql (missing) dependents: [service jboss.data-source.java:jboss/datasources/UniaccessDS, service jboss.driver-demander.java:jboss/datasources/UniaccessDS]


      So, I removed the configuration from standalone.xml and decided to use EAP admin console to add it. This lead to an Unknown Error complaining about (by my understanding) the MySQL driver. Details of error messages are here: http://ur1.ca/ha86a

      WildFly server


      Pls what am I getting wrong? How do I get this to work at least in WildFly ??