I am writing a JCA adaptor usinc CCI to connect to a remote CORBA system. I 
have implemented the ManagedConnection* and Connection* interfaces.  In 
createManagedConnection() I return a new instance of ManagedConnectionImpl.  
However, no matter what I do matchManagedConnections() is *never* called.  For 
every call to ConnectionFactoryImpl.getConnection() the ConnectionManager 
*always* calls createManagedConnection(). I am not using container managed 
security, so Subject is null.  The ConnectionRequestInfo object I create in the 
ConnectionFactoryImpl class is exactly the same one throughout all calls.  
There is only one ManagedConnectionFactoryImpl class.

AFAIK JBoss uses ManagedConnectionFactoryImpl and ConnectionRequestInfo to 
match connections internally.  If this is the case, how come it does not see 
the new connection request as matching one of those already created in the 
pool?  I have read through this whole forum and the only response I saw was 
"that means JBoss could not find a suitable connection".  That means nothing.  
What precisely is classified as a "suitable connection"?

This is very urgent.  And yes - I have RTFM and I have purchased the 
documentation.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to