Bug 1180556
| Summary: | [GSS](6.4) EJB container-transaction configuration with ejb-jar.xml leads to wrong transaction behavior | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Ricardo Martinelli de Oliveira <rmartine> | |
| Component: | EJB | Assignee: | David M. Lloyd <david.lloyd> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Slavicek <pslavice> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.3.2 | CC: | bmaxwell, cdewolf, chaowan, jmartisk, kkhan, rmartine | |
| Target Milestone: | ER1 | |||
| Target Release: | EAP 6.4.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1180570 (view as bug list) | Environment: | ||
| Last Closed: | Type: | Bug | ||
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1180570 | |||
It is Ok. Hynek Švábek <hsvabek> updated the status of jira WFLY-2627 to Resolved Additional tests in https://github.com/jbossas/jboss-eap/pull/2295 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |
If there is a global transaction declaration for “Supports” and a “Required” declaration for a specific Method the “Required” gets ignored. I first encountered the problem with an old 2.1 EJB, but the problem is also there with a 3.1 EJB with deployment descriptor. It works correct with annotations. ejb-jar.xml snippet <container-transaction> <method> <ejb-name>UserDAOImpl</ejb-name> <method-name>*</method-name> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction> <method> <ejb-name>UserDAOImpl</ejb-name> <method-intf>Local</method-intf> <method-name>createUser</method-name> </method> <trans-attribute>Required</trans-attribute> </container-transaction>