Try this, Using the jmx console (http://localhost:8080/jmx-console), go to the 
jboss.jca:name=XXX,service=ManagedConnectionPool MBean (where XXX is the 
datasource name). Change the pool sizes and timeout value. Then wait for the 
timeout and the connections should be closed. 

Also, you can set the pool sizes and timeout in the *-ds.xml file:

<datasources>
  |   <local-tx-datasource>
  |     <jndi-name>someds</jndi-name>
  |     ...
  |     <min-pool-size>10</min-pool-size>
  |     <max-pool-size>100</max-pool-size>
  |     <idle-timeout-minutes>15</idle-timeout-minutes>
  |   </local-tx-datasource>
  | </datasources>

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193790
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to