This content has been marked as final.
Show 2 replies
-
1. Re: sql server xa-datasource giving accessor error
helicojava Jan 26, 2004 11:22 AM (in response to shweta1000)"helicoJava" wrote:
Hi,
I use the same JDBC driver.
I had the same problem and it seems that following sript should solves it:
<datasources>
<xa-datasource>
<jndi-name>JTS.SITE00.METADATA</jndi-name>
<connection-url>jdbc:inetdae7:2216-FF-ATHENA:1433</connection-url>
<xa-datasource-class>com.inet.tds.DTCDataSource</xa-datasource-class>
<xa-datasource-property name="DatabaseName">oasiswp00</xa-datasource-property>
<xa-datasource-property name="Mode">70</xa-datasource-property>
<xa-datasource-property name="ServerName">2216-FF-ATHENA</xa-datasource-property>
<application-managed-security/>
<!-- not sure if these should be here-->
<user-name>sa</user-name>
<password>nms</password>
</xa-datasource>
</datasources>
Vitaly.
vitaly_l@arelnet.com -
2. Re: sql server xa-datasource giving accessor error
shweta1000 Jan 29, 2004 12:41 AM (in response to shweta1000)"shweta1000" wrote:
Thanks Vitaly.
I found the reason for the trouble. The metyhod getXADataSource in class org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory tries to call set method for each of the xa-datasource-property tag. Opta2000 driver does not provide some of the set methods. And hence the error. I corrected the code and it works fine.