[JBoss-user] [JCA/JBoss] - Re: matchManagedConnections() does not get called
zibi101 wrote : As far as I can gather you have to fire events (and set connectionHandle property) to inform container that you want to free managedConnection from client connection and enable the container to put it into pool. Earlier get an listener through addConnectionEventListener method of course. Thanks for taking the time to respond. I have implemented the listener interface and do send out the close notifications. This causes the connection to be released back in to the pool. However, what I want is something different. If I have created one managed connection, and lets assume it is not in the Container's pool. I have two concurrent getConnection() requests from two clients. I want to share this single ManagedConnection with both those clients - i.e. have two Connection instances reference the same ManagedConnection instance. JBoss only allows me to use a ManagedConnection if there is no active logical connections associated with it. I want the oposite. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898941#3898941 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898941 --- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: matchManagedConnections() does not get called
sorry that should have read ...and lets assume it is NOW in the Container's pool... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898942#3898942 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898942 --- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - matchManagedConnections() does not get called
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=bbop=viewtopicp=3897908#3897908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: matchManagedConnections() does not get called
I can see that all connections are going into the same pool: 2005-09-29 12:00:38,919 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Getting connection from pool [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1127988038918 permit=true trackByTx=false [EMAIL PROTECTED] [EMAIL PROTECTED] [InUse/Available/Max]: [3/17/20] Any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897910#3897910 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897910 --- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: matchManagedConnections() does not get called
Just one more note - I am *not* closing the connections since I need to share this ManagedConnection across many different logical connections. If I close the connection then matchManagedConnections() is called, but what help is that if I cannot share my ManagedConnection objects? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897920#3897920 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897920 --- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - HA-JNDI lookups takes very long to complete
I am running JBoss 3.2.4 in the all configuration in a cluster of two nodes using auto discovery. The services binds to a specific IP (started up using -b). Eveything works fine for the first few minutes, then suddently some HA-JNDI lookups on IP:1100 starts to take 60 seconds, some even 1088 seconds to complete. Eventually the correct value is retrieved from the HA-JNDI tree, but it takes random times. Some calls return immediately, some takes very long. The two servers are on a 1Gb network link. The code regularly binds/unbinds/reads/removes data from the tree - I am using it for locking of entities cluster wide. Why would this happen? I know the call to initialContect.xxx() such as initialContext.unbind() takes very long. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868464#3868464 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868464 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - HA-JNDI Problems in 3.2.4
Hi, I have two nodes in a cluster, both running JBoss 3.2.4. I am connecting to HA-JNDI via localhost:1100 on each host to perform some custom JNDI bindings. However, whenever I do a lookup on Node A for the context WebMVC, it succeeds on that node but on the console of Node B I see this: 11:33:49,350 WARN [DefaultPartition] javax.naming.NameNotFoundException: WebMVC not bound Why is this happening? It did not happen in 3.2.3. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837721#3837721 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837721 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: jboss clustering of two nodes on different m/cs
eusdart wrote : I have Apache installed on WinXP and I have downloaded the Mod_JK2 connector ( the module is mod_jk2.so NOT mod_jk2.dll is this correct???) A DLL is a Dynamic Linked Library (Win16/32 technology). An .so is a shard object - a Unix technology. My guess is you should look for mod_jk2.dll. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837727#3837727 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837727 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user