4 Replies Latest reply on Feb 23, 2012 11:54 AM by wdfink

    Server not loading mysql driver

    daxxy

      This situation has me totally baffled.

       

      I successfully installed the MySQL driver in my windows AS 7 environment. FTR 7.1.0.Final.  Here is the entry from my standalone.xml

       

      <driver name="com.mysql" module="com.mysql">

          <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>

      </driver>

       

      It shows up when the server starts up

       

      13:06:09,062 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

       

      Now I am trying to set it up in a Solaris environment. 

      The exact same definition is in solaris and windows standalone.xml. I copied and pasted from the working environment into the new environment.  However, the server does not load the driver

       

      08:50:05,902 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-50) JBoss Web Services - Stack CXF Server 4.0.1.GA

      08:50:06,239 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      08:50:06,805 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-25) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080

       

      Any ideas on what might be causing this or how to  debug it?  What logging shoudl I turn on to see  what is going on here?

      TDR

      13:06:08,801 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      13:06:09,062 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)