[jboss-jira] [JBoss JIRA] (AS7-1291) UserTransaction not exposed in JNDI

Bartosz Majsak (JIRA) jira-events at lists.jboss.org
Fri Feb 3 07:27:49 EST 2012


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

Bartosz Majsak commented on AS7-1291:
-------------------------------------

Sure it will make it not portable, but in my case (for Arquillian Persistence Extension) it wasn't really a problem. I just made it configurable :)
                
> UserTransaction not exposed in JNDI
> -----------------------------------
>
>                 Key: AS7-1291
>                 URL: https://issues.jboss.org/browse/AS7-1291
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 7.0.0.Final
>         Environment: 7.1.0.Alpha1 Jenkins build 1402
>            Reporter: Juergen Zimmermann
>            Assignee: Andrew Rubinger
>
> In JBoss 6 UserTransaction was exposed in JNDI named as java:comp/UserTransaction. Thus an Arquillian test method could be encapsulated in one single transaction:
> * lookup() the UserTransaction
> * begin() inside @Before
> * commit() inside @After
> Unfortunately, JBoss 7 doesn't have a JNDI entry for UserTransaction.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list