[jboss-user] [JCA] - AvailableConnectionCount keeps increasing

Thomas Issac do-not-reply at jboss.com
Mon Mar 22 15:46:22 EDT 2010


Thomas Issac [http://community.jboss.org/people/tizzac] created the discussion

"AvailableConnectionCount keeps increasing"

To view the discussion, visit: http://community.jboss.org/message/533362#533362

--------------------------------------------------------------
I am using JBoss JCA with IBM MQ Resource Adapter. The AvailableConnectionCount keeps increasing for every request for  a new connection from this ManagedConnectionFactory. After some time my AvailableConnectionCount is showing 400+ even though my MaxSize is set to 20 by default. Every request for new connection increases AvailableConnectionCount by 20. Any idea what might be going wrong here ??

Here are the details on the Environment.

JBoss Version : 4.0.2(build: CVSTag=JBoss_4_0_2 date=200505022023)
Webpshere MQ Resource Adapter Version : 1.5   j600-201 (RAR Version)


|| wmq.jmsra-ds.xml ||
| <?xml version="1.0" encoding="UTF-8"?>

<connection-factories>
     <tx-connection-factory>
         <jndi-name>MYTESTQM01</jndi-name>
         <rar-name>wmq.jmsra.rar</rar-name>
          <connection-definition>javax.jms.QueueConnectionFactory</connection-definition>
         <!--<config-property name="channel"  type="java.lang.String">SYSTEM.DEF.SVRCONN</config-property>     -->
         <config-property name="hostName"  type="java.lang.String">47.185.32.231</config-property>
         <config-property name="port"  type="java.lang.String">1414</config-property>
         <config-property name="queueManager"  type="java.lang.String">MY_TEST_QM</config-property>
         <config-property name="transportType"  type="java.lang.String">CLIENT</config-property>
         <config-property name="username"  type="java.lang.String"></config-property> 
         <config-property name="password"  type="java.lang.String"></config-property> 
         <!--<config-property name="reconnectionRetryCount"  type="java.lang.String">3</config-property> -->
         <!--<config-property name="reconnectionRetryInterval"  type="java.lang.String">240000</config-property> -->
         <config-property name="maxConnections"  type="java.lang.String">2</config-property>
         <use-java-context>false</use-java-context>
          <blocking-timeout-millis>5000</blocking-timeout-millis>
         <idle-timeout-minutes>2</idle-timeout-minutes>
          <security-domain-and-application>JmsXARealm</security-domain-and-application>   
     </tx-connection-factory> |

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/533362#533362]

Start a new discussion in JCA at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100322/c94fa12e/attachment.html 


More information about the jboss-user mailing list