• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IBM ToolBox for Java AS400JDBCConnectionPool

 
Joe Walt
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After the connection pool has been filled with 10 connection if all the connections are deleted pool.getConnection(); returns the following error:
:com.ibm.as400.access.ConnectionPoolException: The connection does not exist.
I thought that if there were no connections available in the connectionPool the pool would create a new connection.



 
Paul Clapham
Sheriff
Posts: 21559
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe Walt wrote:I thought that if there were no connections available in the connectionPool the pool would create a new connection.


Is that what the documentation says? I'm not going to hunt down the documentation myself because I assume you have access to it, but generally for connection pools I would expect them to only support a limited number of open connections at one time. Typically you can configure the maximum number, but it isn't going to be infinite.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic