[jboss-jira] [JBoss JIRA] Resolved: (JBAS-8465) TransactionSynchronizationRegistry lookup

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Tue Dec 14 00:47:52 EST 2010


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

Shelly McGowan resolved JBAS-8465.
----------------------------------

    Resolution: Done


JBoss TS was upgraded to 4.14.0 
https://fisheye.jboss.org/changelog/JBossAS/?cs=109886

This issue should be resolved with that update.

> TransactionSynchronizationRegistry lookup
> -----------------------------------------
>
>                 Key: JBAS-8465
>                 URL: https://issues.jboss.org/browse/JBAS-8465
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Naming
>    Affects Versions: 6.0.0.M4
>         Environment: Windows 7, JDK 1.6.0_21
>            Reporter: Melquiades Fagundez
>            Assignee: Jonathan Halliday
>              Labels: as, jboss
>             Fix For: 6.0.0.Final
>
>
> Posts: 1
> 	
> posted Today 12:18:20 private message
> Quote
> Hi,
> When I lookup TransactionSynchronizationRegistry using the following code:
> try {
> Context ctx = new InitialContext(props);
> transactionRegistry = (TransactionSynchronizationRegistry) ctx.lookup("java:TransactionSynchronizationRegistry");
> } catch (Exception e) { .. }
> I am getting the following exception
> Caused by: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassCastException: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple cannot be cast to javax.naming.spi.ObjectFactory]
> at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1508) [:5.0.5.Final]
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:824) [:5.0.5.Final]
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) [:5.0.5.Final]
> at javax.naming.InitialContext.lookup(InitialContext.java:392) [:1.6.0_21]
> .....
> The lookup seems to work when using jboss-5.1.0.GA

-- 
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