Hi,
I am using
JBoss 4.0.2RC1 for my application, to get the database connection i am using jboss datasource, i configured the oracle-ds.xml for my connection pool setting,
in my application i am closing the connection when ever it is not required, but after some time if i monitor the connection pool in the jmx-console it is show all the available connection in use, then i increased the number of connection in the pool to 200 but the in the console it showing only 100 connection is create and all the connection is active, the connection is still active if the application is idle for more than 30 minutes.... if i tried to access my application I am getting the following exception when i try to get the connection from the connection pool
(I set the max-connection pool size to 100)
No ManagedConnections available within configured blocking timeout ( 20000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 20000 [ms] ))
Following is the datasource file:
<local-tx-datasource>
<jndi-name>defaultSource</jndi-name>
<connection-url>
jdbc racle:thin:@localhost:1521:host</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>username</user-name>
password
<min-pool-size>5</min-pool-size>
<max-pool-size>100</max-pool-size>
<max-idle-timeout>0</max-idle-timeout>
<blocking-timeout-millis>20000</blocking-timeout-millis>
<idle-timeout-minutes>1</idle-timeout-minutes>
<track-statements>false</track-statements>
</local-tx-datasource>
Thanks
please help me if i missed some thing...