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

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Sat Jul 16 04:50:24 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aslak Knutsen reassigned AS7-1291:
----------------------------------

    Assignee: Andrew Rubinger  (was: Aslak Knutsen)


This should work when using e.g. the Servlet Protocol where the test request in coming in via a Servlet and your associated with the War comp. 

Default in AS7 the test execution is going via a jmx-service, which is executed outside of your own comp. This service has access to the test deployments Module and AS7 Core, and should be able to associate the correct comp during execution some how..

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list