Java CAPS SQL Server Adapter fails to connect to a SQL Server 2005 Database when Mirroring is enabled on the database. (Doc ID 1344415.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6 U1 and later
Information in this document applies to any platform.
***Checked for relevance on 26-November-2013***

Symptoms

The Java CAPS SQL Server Adapter fails to connect to a SQL Server 2005 Database when Mirroring is enabled on the database. The server log file contains the following error:

[#|2011-05-04T09:15:37.967+0100|SEVERE|sun-appserver9.1|STC.eWay.jdbcconnector.javax.enterprise.resource.resourceadapter|_ThreadID=433;_ThreadName=p: thread-pool-1; w: 497;_RequestID=c4a119ff-a4ba-4066-bcf7-3d5189246b9a;|Connection could not be allocated because: [SeeBeyond][SQLServer JDBC Driver][SeeBeyond][SQLServer JDBC Driver]Unhandled token type: Unknown token: 0x57
java.sql.SQLException: [SeeBeyond][SQLServer JDBC Driver][SeeBeyond][SQLServer JDBC Driver]Unhandled token type: Unknown token: 0x57
at com.SeeBeyond.sqlserver.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.SeeBeyond.sqlserver.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.SeeBeyond.sqlserver.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source)


The problem occurs when running any project which uses the SQL Server Adapter to connect to a SQL Server 2005 Database which has Mirroring enabled. The problem does not occur if the database is not mirrored.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms