iconnj [http://community.jboss.org/people/iconnj] created the discussion
"java:comp/ vs java/" To view the discussion, visit: http://community.jboss.org/message/626758#626758 -------------------------------------------------------------- I am trying to lookup TransactionSynchronizationRegistry using JNDI from a pojo. When I try new InitialContext().lookup(java:TransactionSynchronizationRegistry) the lookup is successful however new InitialContext().lookup(java:comp/TransactionSynchronizationRegistry) doesn't work The javaDoc for TransactionSynchronizationRegistry specifically says that the standard jndi name should be java:comp/TransactionSynchronizationRegistry. I am trying to build a standard solution which works on all major app servers and the standard jndi name works on Websphere and Weblogic, but just not on JBOSS. Has anyone come around similar issues before and how about would you go to resolve this? Thanks -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/626758#626758] Start a new discussion in JNDI and Naming at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
