This says you are exceeding the default connection pool size of 20. Add a
max-pool-size element:

<max-pool-size>NNNN</max-pool-size>

--
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Magesh Prabhu wrote:

Hi Guys,

In order to test the concurrency in my system, I created a Threaded standalone application and tried to invoke a Stateless Session Bean concurrently 100 times.

What the Session Bean does is fairly simple, It calls an entiry bean which in turn searches for the primary key in the database. If there is'nt one, it creates a new record.

When I executed my threaded applicatoin, I got the following Exception stack trace. Can somebody explain be about this 'No ManagedConnections Available!'. Am I missing something in the way I have configured my datasource.

My datasource configuration is :
<datasources>
  <local-tx-datasource>
    <jndi-name>OracleDS</jndi-name>
    <connection-url>jdbc:oracle:thin:@193.16.18.142:1521:testdb</connection-url>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <user-name>dev</user-name>
    <password>dev</password>
    
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
  </local-tx-datasource>

</datasources>

Environment: jboss-3.2.1_tomcat-4.1.24, Oracle 8.1.6, Jdk 1.4.1_01

Thanx in advance,
Magesh



------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to