Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003
From: David S. Faller (david_NOSPAM_faller_at_de.ibm.com)
Date: 09/22/04
- Next message: David S. Faller: "Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003"
- Previous message: Carb Simien [MSFT]: "RE: slow connections with jdbc driver and no entry in hosts file"
- In reply to: Joe Weinstein: "Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003"
- Next in thread: David S. Faller: "Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 22 Sep 2004 11:49:17 +0200 To: Joe Weinstein <joe@bea.com>
Hi Joe,
Thanks for this information. I verified that the SQL Server has been
updated to SP3a and that the sqljdbc.dll in my SQL Server's binn
directory is the one shipped with the latest JDBC driver (SP3).
Still no luck...
Can you give me more details on which dll has to be updated and where to
get the update? The list of post-SP3 updates of SQL Server does not list
any XA related issues
(http://support.microsoft.com/common/canned.aspx?Sz=kbSQLServ2000presp4fix).
Thanks,
David Faller
Joe Weinstein wrote:
>
>
> David S. Faller wrote:
>
>> Hi!
>>
>> I have an application server and try to access my SqlServer 2000
>> database running on Win 2003 using a two-phase commit connection
>> (datasource property enable2Phase=true). The JDBC driver is SP3.
>>
>> I receive the following exception:
>>
>> Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver
>> for JDBC][SQLServer]xa_open (0) returns -3
>
>
> Hi. That's not a driver issue, it is a failure of an ancillary ddl that
> implements the extended stored procedures thet SQLServer uses for XA.
> There have been recent fixes to those DLLs, so the first thing to do is to
> upgrade the DBMS to the latest fixpack.
> Joe Weinstein at BEA
>
>> at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
>> Source)
>> at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
>> Source)
>> at
>> com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown
>> Source)
>> at
>> com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown
>> Source)
>> at
>> com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown
>> Source)
>> at
>> com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
>> at
>> com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown
>> Source)
>> at
>> com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown
>> Source)
>> at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown
>> Source)
>> at
>> com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown
>> Source)
>> at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown
>> Source)
>> at
>> com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown
>> Source)
>> at
>> com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown
>> Source)
>> at
>> com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown
>> Source)
>> at
>> com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown
>> Source)
>> at
>> com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.open(Unknown
>> Source)
>> at com.microsoft.jdbcx.base.BaseXAConnection.<init>(Unknown Source)
>> at
>> com.microsoft.jdbcx.base.BaseXADataSource.getXAConnection(Unknown Source)
>> at
>> com.microsoft.jdbcx.sqlserver.SQLServerDataSource.getXAConnection(Unknown
>> Source)
>>
>> If I disable either the enable2Phase or use a SqlServer database on
>> Win2000 everything works fine.
>>
>> Any ideas?
>>
>> My JDBC driver reports the following:
>> Database product name : Microsoft SQL Server
>> Database product version : Microsoft SQL Server 2000 - 8.00.760
>> (Intel X86)
>> JDBC driver name : SQLServer
>> JDBC driver version : 2.2.0040
>
>
- Next message: David S. Faller: "Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003"
- Previous message: Carb Simien [MSFT]: "RE: slow connections with jdbc driver and no entry in hosts file"
- In reply to: Joe Weinstein: "Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003"
- Next in thread: David S. Faller: "Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|