Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Java transaction API error

Author  Topic 

Aparajith
Starting Member

1 Post

Posted - 2008-12-16 : 07:40:33
Hi,
I am trying to get Connection to SQL server through Java transaction API. I want to use JTA for two phase commit. I configured Datasource, SQL server - but receiving the following exception.

javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc.SQLServerException: Function START: failed. No transaction cookie returned.
at com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC_XA_Interface(SQLServerXAResource.java:640)
at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(SQLServerXAResource.java:672)

Please help me to over come this issue.

thanks and regards,
Aparajith
   

- Advertisement -