Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • 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

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!