[jboss-user] [JCA/JBoss] - Always the same managed connection
oglueck
do-not-reply at jboss.com
Thu Nov 30 10:29:04 EST 2006
It seems the JBoss connection manager ignores the ConnectionRequestInfo when allocating new connections. What I do is:
conn1 = mycf.getConnection("abc");
conn2 = mycf.getConnection("def");
The connection factory basically passes the parameter as a ConnectionRequestInfo to the ConnectionManager.allocateConnection method. As it seems the connection manager always wants to return the same connection, even though the ConnectionRequestInfo for conn2 is different from conn1.
Can anybody confirm this?
I circumvented the problem by eliminating the parameter from getConnection. Thus I don't care anymore if I get the same connection back. But it still leaves me with a feeling that the JBoss ConnectionManager violates the JCA specs.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990108#3990108
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990108
More information about the jboss-user
mailing list