[jboss-dev-forums] [JBoss AS 7 Development] - How to close remote ejb/jndi connections

Michael Gronau do-not-reply at jboss.com
Fri Mar 16 09:24:46 EDT 2012


Michael Gronau [https://community.jboss.org/people/Michael_Gronau] created the discussion

"How to close remote ejb/jndi connections"

To view the discussion, visit: https://community.jboss.org/message/724328#724328

--------------------------------------------------------------
Hello,
during my very somewhat painful journey to migrate our app to jboss7 (coming from 5.x) I found another little problem. What i want to achieve is like this:
 1. create a normal jndi context (for non-ejb lookups) and an ejb context.
 2. do somethings. 
3. close the two connections. 
4. do all this again and again.

My problem is I dont know how to close the connections. The only way I know, is close the jvm, but this is no solution for the described test case.
 Imagine a remote web app that wants to call our app with hundreds or thousands of users (which is 2 connections per user in this test case). If a user signs off, we should be able to close the connection immediately.

With best regards
Michael
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/724328#724328]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120316/1a6bb766/attachment.html 


More information about the jboss-dev-forums mailing list