1 Reply Latest reply on Sep 17, 2007 12:46 PM by Norman Richards

    datasources problem :/

    Jacek Zebrowski Newbie

      I get this error when i try to deploy my app :


      16:12:35,578 WARN [JBossManagedConnectionPool] Throwable while attempting to ge
      t a new connection: null
      org.jboss.resource.JBossResourceException: Could not create connection; - nested
      throwable: (org.jboss.resource.JBossResourceException: Wrong driver class for t
      his connection URL)


      Then i get bunch of exceptions. My datasource is configured as follows :

      <?xml version="1.0" encoding="UTF-8"?>
      
      <!DOCTYPE datasources
       PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
       "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
      
      <datasources>
      
       <local-tx-datasource>
       <jndi-name>magisterka1Datasource</jndi-name>
       <connection-url>jdbc:hsql://localhost:1701/magisterka</connection-url>
       <driver-class>org.hsqldb.jdbcDriver</driver-class>
       <user-name>magisterka</user-name>
       <password>mgr</password>
      <!--
       <exception-sorter-class-name>
       org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
       </exception-sorter-class-name>
       <metadata>
       <type-mapping>mySQL</type-mapping>
       </metadata>
      -->
       </local-tx-datasource>
      
      </datasources>
      


      what do i do wrong ? :/