[jboss-user] [JCA/JBoss] - TrackConnectionByTx set true for local-tx-datasource thorws

crazyone do-not-reply at jboss.com
Fri Oct 6 10:06:24 EDT 2006


Hi, and thanks in advanced for your help.

I'm using Jboss 4.0.4 and EnterpriseDB for my applications, and
i have some problems when connecting to database, i find in 

https://sourceforge.net/tracker/?func=detail&aid=648442&group_id=22866&atid=376685

"If I want to connect twice with different users the first connect works
correctly but the second one throws an ResourceException
Wrong credentials passed to getConnection!".

"This problem is caused by the track connection by
transaction processing.
This overrides other pooling considerations.

The second getConnection tries to use the same underlying
connection
as the first one. This fails because because the credentials
are different."

Question:¿can i set TrackConnectionByTx to false, for a local-tx-datasource?.

Regards.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976597#3976597

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976597




More information about the jboss-user mailing list