We have found a workaround for this case: just set the ‘Minimum pool size’ to 0 (zero) and ‘Pool increment size’ to the minimum size we needed. After configuring this is this way, the error has gone away.
Researching some documents at advantage.webmethods.com, I had found a Troubleshooting guide (TS_Advanced_Troubleshooting_Guide.pdf) that says (page 28, 2nd paragraph) that ‘when using WmDB’ (which is not out case) the program (or flow) has to call pub.db:close to close the connection and return it to the pool. Failing to do that, the connection would be lost.
In our case, we are not using such package (wmDB), but we’re using the JDBC Adapter with a connection pool. In our case we should do the same (call pub.db:close or something similar)?
#Integration-Server-and-ESB#Adapters-and-E-Standards#webMethods