Using JBossTS 4.3.0GA with JBoss AS 4.3.0 EAP and the "bridge" (pulled from SVN a while back, not sure if its ever been updated) - I'm seeing a strange, non-fatal error.
What I'm basically doing is at the entry point to my code (currently a servlet), I'm getting a UserTransaction, then getting the InboundBridge and starting it. Then my code proceeds and when it returns, I stop the bridge and commit the UserTransaction.
When my code proceeds, it invokes Spring-tx managed Hibernate code, which does some work under JTA with Oracle.
Everything seems to work fine (data is updated, web service calls are made, ws-tx coordination happens, etc.). But, apparently the local database connection isn't closed. I get the following error and a stacktrace from one of the Hibernate accesses.
09:39:53,661 INFO [CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@19ca6bc
Just noticed that the subject got totally cut off here. The question was supposed to be:
Bridging WS-TX to JTA, with Spring/Hibernate - who closes the database connection?