How to change the connection pooling size in JBOSS-4.0.2/JBOSS-4.0.5 for mssql and oracle both
You can specify the maximum and minimum pool size in the datasource configuration file (*-ds.xml):
<min-pool-size>5</min-pool-size> <max-pool-size>100</max-pool-size>