8 Replies Latest reply on Aug 12, 2013 11:08 AM by berw

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

    berw Newbie

      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,