Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003
From: Joe Weinstein (joeNOSPAM_at_bea.com)
Date: 09/21/04
- Next message: Carb Simien [MSFT]: "Re: Tricky: java.lang.StackOverflowError due to recursive call in warning messages construction"
- Previous message: Shelby Goerlitz [MSFT]: "Re: Writing Dates to MS Access"
- In reply to: David S. Faller: "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"
- Reply: David S. Faller: "Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003"
- Reply: David S. Faller: "Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 21 Sep 2004 10:20:19 -0700 To: "David S. Faller" <david_faller@de.ibm.com>
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: Carb Simien [MSFT]: "Re: Tricky: java.lang.StackOverflowError due to recursive call in warning messages construction"
- Previous message: Shelby Goerlitz [MSFT]: "Re: Writing Dates to MS Access"
- In reply to: David S. Faller: "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"
- Reply: David S. Faller: "Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003"
- Reply: David S. Faller: "Re: Exception in xa_open with SqlServer 2000 SP3a on Win 2003"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|