[jboss-user] [IronJacamar] - "getConnection" returns a shared connection regardless of the sharable property in the resource reference and regardless of the connection request info

berw do-not-reply at jboss.com
Mon Aug 12 09:07:10 EDT 2013


berw [https://community.jboss.org/people/berw] created the discussion

""getConnection" returns a shared connection regardless of the sharable property in the resource reference and regardless of the connection request info"

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

--------------------------------------------------------------
Hi all,

we are on our way to port our long time existing application to JBOSS 7.2 (before we used JBOSS 5 and we support WAS as well). One of the functions uses different connection instances of the same type of one JCA Connector within the same transaction. The different calls to getConnection get different connection request info objects. But even if they are different the second call to "getConnections" returns the first fetched and created connection. In this case the connection however is not sharable and is not meant to be.

Does anybody have the same or similar problem? Is this really a JBOSS bug or do I use it the wrong way?

Thanks for comments and best regards,
Wolfgang
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130812/91db7639/attachment.html 


More information about the jboss-user mailing list