hi ,
 
 i am using JBoss 3.2.1 and jtds-0.5.2.jar as driver for MsSQL 7.0. i configured 
mssql-ds.xml as follows



  <local-tx-datasource>
    <jndi-name>JAVASQL</jndi-name>
    
<connection-url>jdbc:jtds:sqlserver://10.1.1.5:1433/nldb;selectmethod=cursor</connection-url>
    <driver-class>net.sourceforge.jtds.jdbcx.TdsDataSource</driver-class>
    <user-name>sa</user-name>
    
  </local-tx-datasource>




But i am getting the following exception



org.jboss.util.NestedSQLException: Failed to register driver for: 
net.sourceforge.jtds.jdbcx.TdsDataSource; - nested throwable: 
(java.lang.ClassCastException: net.sourceforge.jtds.jdbcx.TdsDataSource); - nested 
throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: 
net.sourceforge.jtds.jdbcx.TdsDataSource; - nested throwable: 
(java.lang.ClassCastException: net.sourceforge.jtds.jdbcx.TdsDataSource)) 



plz help me
Thanks & Regards
Venkat

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823753#3823753

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823753


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to