XA_RBROLLBACK Exception when using Derby in transaction.roolback()

2010-08-11 Thread lilisacat
Hi, I encournter a problem when run the app in the G-3.0-SANPSHOT. In the app, I used Datasource DS-A and Datasource DS-B to link two derby database. If UserTransaction.rollback() called, the server occured error: org.apache.derby.client.am.XaException: XA_RBROLLBACK : Error executing a

Re: XA_RBROLLBACK Exception when using Derby in transaction.roolback()

2010-08-11 Thread lilisacat
appears when I call the transaction.setRollBackOnly() method, transaction will rollback in fact, but the server say: org.apache.derby.client.am.XaException: XA_RBROLLBACK : Error executing a XAResource.end(), server returned XA_RBROLLBACK 2010-08-11 lilisacat 发件人: sghayal 发送时间: 2010-08-11

Re: Re: XA_RBROLLBACK Exception when using Derby in transaction.roolback()

2010-08-11 Thread lilisacat
! 2010-08-12 lilisacat 发件人: David Jencks 发送时间: 2010-08-12 00:44:04 收件人: dev 抄送: 主题: Re: XA_RBROLLBACK Exception when using Derby in transaction.roolback() You should be able to use two datasources on one database. It's a bit odd but we should be able to handle it. It's more