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

jaikiran pai (JIRA) jira-events at lists.jboss.org
Sat Jul 16 02:34:23 EDT 2011


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

jaikiran pai commented on AS7-1291:
-----------------------------------

This appears more of a Arquillian question. The java:comp namespace is specific to components (like EJB, servlet etc...) and can only be used from within them. I don't know how Arquillian used to handle this in AS6. 

Assigning to Arquillian component.


> UserTransaction not exposed in JNDI
> -----------------------------------
>
>                 Key: AS7-1291
>                 URL: https://issues.jboss.org/browse/AS7-1291
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Naming
>    Affects Versions: 7.0.0.Final
>         Environment: 7.1.0.Alpha1 Jenkins build 1402
>            Reporter: Juergen Zimmermann
>            Assignee: John Bailey
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list