[ http://issues.apache.org/jira/browse/DERBY-1025?page=comments#action_12374540 ]
Kathey Marsden commented on DERBY-1025: --------------------------------------- I checked the patch into the trunk: Date: Fri Apr 14 09:30:00 2006 New Revision: 394134 URL: http://svn.apache.org/viewcvs?rev=394134&view=rev This change looks good to me but when I ran jdbcapi/checkDataSource.java and jdbcapi/checkDataSource30.java and with client I got these (expected I think) diffs. I updated the masters and checked in. Please check that the output difference is expected. Attempt to shutdown framework: DerbyNetClient 58 del < expected java.sql.SQLException: Invalid operation: result set closed 58a58 > expected java.sql.SQLException: 'ResultSet' already closed. 460 del < autocommitxastart expected Invalid operation: result set closed 460a460 > autocommitxastart expected 'ResultSet' already closed. Test Failed. *** End: checkDataSource jdk1.4.2_07 DerbyNetClient 2006-04-14 09:04:19 *** *** Start: checkDataSource30 jdk1.4.2_07 DerbyNetClient 2006-04-14 09:17:14 *** Initialize for framework: DerbyNetClient java -Dderby.system.home=D:\testout\DerbyNetClient\checkDataSource30 -Djava.security.manager -Djava.security.policy=D:\testout\derby_tests.policy -DderbyTesting.codeclasses=file:/D:/p4/marsden_patch/c lasses/ -DderbyTesting.codedir=D:\p4\marsden_patch\classes -DderbyTesting.serverhost=localhost -DderbyTesting.clienthost=localhost -DderbyTesting.codejar=file://unused/ org.apache.derby.drda.NetworkSe rverControl start Attempt to shutdown framework: DerbyNetClient 70 del < expected java.sql.SQLException: Invalid operation: result set closed 70a70 > expected java.sql.SQLException: 'ResultSet' already closed. 551a552,559 > conn4 autcommit true > acxs 1 > acxs 2 > autocommitxastart expected 'ResultSet' already closed. > acxs 1 > acxs 2 > autocommitxastart expected : XAException - XAER_DUPID : Error executing a > XAResource.start(), Server returned XAER_DUPID > acxs 3 578 del < Expected SQLException Invalid operation: result set closed 578a586 > Expected SQLException 'ResultSet' already closed. 590 del < Expected SQLException Invalid operation: result set closed 591 del < Expected SQLException Invalid operation: result set closed 591a598,599 > Expected SQLException 'ResultSet' already closed. > Expected SQLException 'ResultSet' already closed. Test Failed. *** End: checkDataSource30 jdk1.4.2_07 DerbyNetClient 2006-04-14 09:18:29 *** > [xa] client XAResource.start() does not commit an active local transaction > when auto commit is true > --------------------------------------------------------------------------------------------------- > > Key: DERBY-1025 > URL: http://issues.apache.org/jira/browse/DERBY-1025 > Project: Derby > Type: Bug > Components: Network Client > Reporter: Daniel John Debrunner > Assignee: Deepa Remesh > Attachments: derby-1025-draft1.diff, derby-1025-draft1.status, > derby-1025-patch1-v1.diff, derby-1025-patch1-v1.status > > Embedded XAResource.start() implementation commits the active local > transaction on the Connection associated with the XAResource if the > connection is auto-commit mode. > Client incorrectly throws an XAException with the XAER_RMFAIL error code (see > DERBY-1024) > XATest contains a work-around for client (calling commit) with a comment with > this bug number. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
