users@glassfish.java.net

Re: Connection pool error

From: <glassfish_at_javadesktop.org>
Date: Thu, 09 Oct 2008 06:06:21 PDT

[code]
<connection-pool max-pending-count="4096" queue-size-in-bytes="4096"
receive-buffer-size-in-bytes="4096" send-buffer-size-in-bytes="8192"/>
[/code]

[code]
<jdbc-connection-pool allow-non-component-callers="false"
associate-with-thread="false" connection-creation-retry-attempts="0"
connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false"
connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit"
datasource-classname="com.intersys.jdbc.CacheConnectionPoolDataSource"
fail-all-connections="false" idle-timeout-in-seconds="300"
is-connection-validation-required="false" is-isolation-level-guaranteed="false"
lazy-connection-association="false" lazy-connection-enlistment="false"
match-connections="false" max-connection-usage-count="0" max-pool-size="32"
max-wait-time-in-millis="60000" name="ArtivaProd" non-transactional-connections="false"
pool-resize-quantity="2" res-type="javax.sql.DataSource" statement-timeout-in-seconds="-1"
steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
[/code]

As a side note, I used to have the res-type set to "javax.sql.ConnectionPoolDataSource", but that caused the same error to happen much more frequently.

I will definitely try the connection leak settings!
[Message sent by forum member 'malakh' (malakh)]

http://forums.java.net/jive/thread.jspa?messageID=304286