[jboss-user] [JBoss/Spring Integration] - JNDI transaction outside of container

gchen77 do-not-reply at jboss.com
Thu Oct 26 18:59:35 EDT 2006


I cant seem to get the TransactionManager and UserTransaction when running junit tests from outside the server.

I've tried many thing including:
<jee:jndi-lookup id="transactionManager" jndi-name="java:TransactionManager">
    <jee:environment>java.naming.provider.url=localhost:20350</jee:environment>
</jee:jndi-lookup>

    <!-- spring jta transaction manager -->

    
    
        UserTransaction
    


Is it possible to get the TransactionManager and UserTransaction if you are not running from within the jvm of the container?
Has anyone tried this before?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981164#3981164

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981164



More information about the jboss-user mailing list