I can resolve this issue by setting the property:
in jbossjta-properties.xml but I don't think that is the solution. When
running this test with AS 4.2, calling EJB2's business method to get another
connection shows that we are tracking by Tx; i.e.,
TRACE [org.jboss.resource.connectionmanager.TxConnectionManager]
getManagedConnection trackByTx=true tx=TransactionImple < ac, BasicAction:
-53efacde:e2c1:476000d6:51 status: ActionStatus.RUNNING >
and we get the connectionfrom the pool trackedByTx:
Got connection from pool tracked by transaction [EMAIL PROTECTED]
thus;
Using connection from pool tracked by transaction [EMAIL PROTECTED]
handles=0
[InUse/Available/Max]: [1/19/20]
With the old xslt deployer, these mbean attributes were set :
true
true
With AS5, calling ds2.getConnection() in EJB2, trackByTx is false;
TRACE [org.jboss.resource.connectionmanager.TxConnectionManager:350]
getManagedConnection trackByTx=false tx=null subject=null
supplying new ManagedConnection: [EMAIL PROTECTED]
Got connection from pool [EMAIL PROTECTED]
[InUse/Available/Max]: [2/8/10]
With the new deployment
TRACE [org.jboss.resource.deployment.ResourceAdapterObjectModelFactory:486]
transaction support setValue: nuri=http://java.sun.com/xml/ns/j2ee
localName=transaction-support value=LocalTransaction
was added for the ConnectorMetaData but I don't see TrackStatements.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122391#4122391
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122391
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user