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
"cja987" wrote : The conversation timeout controls how quickly open conversations expire -- it's the direct equivalent of session timeouts, but for conversations. It has nothing to do with server timeouts, which are specific to the webserver. I imagine for JBoss, it would be somewhere in the tomcat configuration.
|
Ahhh i didnt think i'd be that lucky.
No i was just thinking back to the last project i was on. The users could make requests to us and set a time out. So we had to launch thinks in threads.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981159#3981159
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981159