The “fix” with which I’m familiar is that the pool gets flushed when a stale connection is detected. But the service that hits the stale connection will still fail (depending on various factors). Is there another fix you’re referring to?
The settings apply to both JDBC adapter and internal JDBC pools. The issue is the same.
A connection doesn’t use a thread, system or otherwise. Neither does the pool. Both are simply objects within the JVM memory.
A thread, from the thread pool, when executing to run a service will request a connection from a connection pool. After the thread is finished, the connection is returned to the pool. Idle connections do not have threads associated with them.
Threads use connections, not vice versa.
Oops. Thanks for catching that typo. It was supposed to 115, not 155. (110 would be good too)
I agree about tuning. My starting point is always min connections = 0 for JDBC connections (adapter or internal pools). And I’ve never encountered a need to use something other than 0. If the pool gets up to 5 connections during an active period, they will stay in the pool until the expire time. IMO, there is no point trying to keep connections that are idle beyond the expire time. Sure, there is a delay to get the connections established when the pool is empty but for most integrations (IME, all integrations), the pool startup delay is immaterial.
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB