[jboss-jira] [JBoss JIRA] Updated: (JBAS-2190) New ClientUserTransaction does not honour the jndi environment

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Tue Sep 1 09:15:24 EDT 2009


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

Dimitris Andreadis updated JBAS-2190:
-------------------------------------

    Assignee: Stefan Guilhen  (was: Francisco Reverbel)


Re-assign older iiop tasks to Stefan, to review.

> New ClientUserTransaction does not honour the jndi environment
> --------------------------------------------------------------
>
>                 Key: JBAS-2190
>                 URL: https://jira.jboss.org/jira/browse/JBAS-2190
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Transaction Manager (JBossTM)
>    Affects Versions: JBossAS-5.0.0.Beta1
>            Reporter: Adrian Brock
>            Assignee: Stefan Guilhen
>
> JBoss5 code:
>             Context ctx = new InitialContext();
>             txFactory = (TransactionFactory) ctx.lookup(
>                                     DistributedTransactionManager.JNDI_NAME);
> JBoss4 code:
>          Hashtable env = (Hashtable) NamingContextFactory.lastInitialContextEnv.get();
>          InitialContext ctx = new InitialContext(env);
>          factory = (UserTransactionSessionFactory) ctx.lookup("UserTransactionSessionFactory");

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list