• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

DataSource Connection is not taking connection from the connection pool - new connection is created

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have configued a datasource in WAS 7.0

But the server is creating a new connection for each request and throws the error Connection not available while invoking method createOrWaitForConnection for resource after the maximum connection limit is raeched.

The connection is not getting created from the connection pool.

My connection pool Configurations

Maximum Connections : 200
Minimunm Connections : 50

Can anybody please help me with this !!!
Why is the connection getting created each time even though I close the connection.

I am using Spring JDBC Template which closes the connection


Thanks
 
Normally trees don't drive trucks. Does this tiny ad have a license?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic