[jboss-jira] [JBoss JIRA] (WFLY-6127) JPA specification - section 7.6.4.1 - Violation?

Scott Marlow (JIRA) issues at jboss.org
Thu Feb 4 09:20:00 EST 2016


    [ https://issues.jboss.org/browse/WFLY-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158806#comment-13158806 ] 

Scott Marlow commented on WFLY-6127:
------------------------------------

It has been a while since I thought we fixed this.  Could you attach TRACE output from the initial call to SFSB1.M1() and call to SFSB2.method2() and M1 returning.

[Please enable TRACE logging for org.jboss.as.jpa + com.arjuna. (clear here for doc on how) |https://docs.jboss.org/author/display/WFLY10/JPA+Reference+Guide#JPAReferenceGuide-Troubleshooting] .



> JPA specification - section 7.6.4.1 - Violation?
> ------------------------------------------------
>
>                 Key: WFLY-6127
>                 URL: https://issues.jboss.org/browse/WFLY-6127
>             Project: WildFly
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 9.0.2.Final
>            Reporter: Mazen Mahmoud
>            Assignee: Scott Marlow
>            Priority: Minor
>
> SPEC: If a component is called and the JTA transaction is propagated into that component:
> If there is a persistence context of type SynchronizationType.UNSYNCHRONIZED
> associated with the JTA transaction and the target component specifies a persistence context of type SynchronizationType.SYNCHRONIZED, the IllegalStateException is thrown by the container
> We have a stateful session bean (SFB1) / PC: TRANSACTION/UNSYNCHRONIZED)
> stateful session bean (SFB2) / PC: TRANSACTION/SYNCHRONIZED)
> SFB1 method M1 (REQUIRED) calls SFB2 Method 2 (REQUIRED):
> PC is propagated from SFB1 to SFB2 without any exception.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list