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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...