[jboss-user] [JBoss Seam] - datasources problem :/
Yacho
do-not-reply at jboss.com
Mon Sep 17 10:18:32 EDT 2007
I get this error when i try to deploy my app :
anonymous wrote :
| 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 ? :/
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085071#4085071
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085071
More information about the jboss-user
mailing list