Query is failing after transaction is marked for rollback in JBoss
Issue
We have an application that issues a query after a transaction is marked for rollback. This was working fine with 4.0.4GA, but when we migrate to EAP 5.1.2 we're facing some issues. Please find the the error in the attached server.log
We found the following information on the web but are not sure whether it is accurate. Also please confirm this is something redhat supports.
The following urls mentioned about jboss patch:
https://issues.jboss.org/browse/JBAS-7195
https://issues.jboss.org/browse/JBPAPP-3594
https://issues.jboss.org/secure/attachment/12332651/jbpapp-3594.patch
When we explicitly set the system property ignoreStatusMarkedForRollback to TRUE in properties-service.xml as below the application seem to be working.
<mbean code="org.jboss.varia.property.SystemPropertiesService"
name="jboss:type=Service,name=SystemProperties">
<attribute name="Properties">
org.jboss.resource.connectionmanager.TxConnectionManager.ignoreStatusMarkedForRollback= true
</attribute>
</mbean>
Environment
- JBoss Enterprise Application Platform (EAP)
- 5.1.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
