Re: Microsoft JDBC Driver XA Problem
- From: Manfred Rosenboom <marochess@xxxxxx>
- Date: Mon, 11 Apr 2005 14:09:02 +0200
Jay Shen wrote:
Hi,
I have applied XA support via the dll and script...but now I got the following error. Anyone can point me a direction to fix this?
Thanks,
j-
20:44:06 [tyrex.resource.n3-db] [main] [transaction server is recovering] [] [] ERROR - Failed to create connection for default user
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]xa_open (0) returns -3
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
Hi Jay,
Seems, that you haven't started the DTC (Distributed Transaction Coordinator) service. This service is installed during the MS SQL Server 2000 installation but with start type 'manual'.
BTW: which user do you use to connetc to the database ? If you don't
use sa (which would be a good idea) have in mind, that XA recovery is
only allowed for a system administrator. To allow all users to perform
XA recovery, you have to add the EXEC permission to PUBLIC for the stored procedure xp_jdbc_recover (part of extended stored procedures) in the master database.
Best, Manfred .
- Follow-Ups:
- Re: Microsoft JDBC Driver XA Problem
- From: Jay Shen
- Re: Microsoft JDBC Driver XA Problem
- References:
- Microsoft JDBC Driver XA Problem
- From: Jay Shen
- Microsoft JDBC Driver XA Problem
- Prev by Date: Microsoft JDBC Driver XA Problem
- Next by Date: RE: refreshRow not working
- Previous by thread: Microsoft JDBC Driver XA Problem
- Next by thread: Re: Microsoft JDBC Driver XA Problem
- Index(es):
Relevant Pages
|
Loading