7 Replies Latest reply on Jul 7, 2009 1:13 PM by Hussein Baghdadi

    Database connectivity error

    Hussein Baghdadi Novice

      Hey,


      I'm trying to deploy Seam skeleton application on JBoss AS 4.2.3


      The environment is:


      Seam 2.1.2


      MySQL 5.x


      MySQL JDBC driver 5.1.6


      But I'm getting this exception:



      16:32:58,602 WARN  [SettingsFactory] Could not obtain connection metadata
      org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://domain/appdb?characterEncoding=utf-8); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://domain/appdb?characterEncoding=utf-8))