[jboss-jira] [JBoss JIRA] (AS7-5886) EJB container-transaction configuration need to include Timer method-intf
Cheng Fang (JIRA)
jira-events at lists.jboss.org
Tue Nov 6 14:35:18 EST 2012
[ https://issues.jboss.org/browse/AS7-5886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732248#comment-12732248 ]
Cheng Fang commented on AS7-5886:
---------------------------------
Need to fix ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/merging/AbstractMergingProcessor.java
> EJB container-transaction configuration need to include Timer method-intf
> -------------------------------------------------------------------------
>
> Key: AS7-5886
> URL: https://issues.jboss.org/browse/AS7-5886
> Project: Application Server 7
> Issue Type: Bug
> Components: EJB
> Affects Versions: 7.2.0.CR1
> Reporter: Cheng Fang
> Assignee: Cheng Fang
>
> In the following ejb-jar.xml snippet,
> {code:xml}
> <container-transaction>
> <method>
> <ejb-name>TestBean</ejb-name>
> <method-name>*</method-name>
> </method>
> <trans-attribute>Required</trans-attribute>
> </container-transaction>
> <container-transaction>
> <method>
> <ejb-name>TestBean</ejb-name>
> <method-intf>Timer</method-intf>
> <method-name>*</method-name>
> </method>
> <trans-attribute>NotSupported</trans-attribute>
> </container-transaction>
> {code}
> Only timer methods have tx attr not supported, and all other methods have tx attr required.
> Currently with as-7, the second container-transaction overwrites the first one, resulting in all methods have tx attr not supported.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list