Hi,
since we updated our staging servers to Railo 3.3.1 some queries failed with the error:
The server failed to resume the transaction. Desc:ba00000001.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source):-1
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source):-1
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source):-1
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(Unknown Source):-1
When we switch to the jTDS drivers for MS SQL Server, the same query runs fine. It's also a rather simple query:
SELECT propertydefinitionid,propertydatatype FROM propertydefinitions WHERE propertydefinitionid IN ( ... )
The In clause contains 5 values.
The JDBC driver version is 1.2.2828.100 on MS SQL Server 2008. Switching to jTDS is not an option for us due to specific requirements. Is there a way to update the JDBC driver JAR file or should we not avoid this? Is this a known issue maybe?
Here's a summary from a pure java perspective on this error. You could also google for "SQL Server 3971"; 3971 is the internal SQL Server Error code.