[jboss-user] [JCA/JBoss] - Re: Class Cast Exception when connecting to DataSource--JBos

weston.price@jboss.com do-not-reply at jboss.com
Sat Nov 18 16:00:50 EST 2006


Again, if you look at the Wiki page for MSSQL  you will notice that in none of our sample configurations is there a URL property. Please just read the documenation and try it with: 


  | xa-datasource-class>com.microsoft.jdbcx.sqlserver.SQLServerDataSource</xa-datasource-class>
  |     <xa-datasource-property name="ServerName">localhost</xa-datasource-property>
  |     <xa-datasource-property name="DatabaseName">pubs</xa-datasource-property>
  |     <xa-datasource-property name="SelectMethod">cursor</xa-datasource-property>
  |     <xa-datasource-property name="User">sa</xa-datasource-property>
  |     <xa-datasource-property name="Password">jboss</xa-datasource-property>
  | 

Again, there is *no* URL property. 

Reading the documentation for your driver is *strongly* encouraged. 



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

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



More information about the jboss-user mailing list