Re: Cayenne Supported DBCP Properties

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu May 27 2010 - 14:23:54 UTC

  • Next message: MGargan..scholar.com: "Re: [OT] WWDC?"

    On May 27, 2010, at 5:04 PM, Joe Baldwin wrote:

    > thanks for the "testWhileIdle" suggestion. This appears to
    > cooperate with validationQuery and allow a startup. (I am also
    > hopeful that it addresses a long standing problem with MySQL
    > connections.)

    So if it works, don't fix it :-)

    > However, it appears that there is a repeatable problem with
    > testOnBorrow & validationQuery (i.e. Tomcat throws an exception on
    > startup and the app fails to start). Is it possible that there is a
    > bug with these two parameters?

    The link that I googled and mentioned in my previous email suggests
    that there is - in commons-pool or commons-dbcp. You may try to follow
    up with the Apache Commons folks if you want to dig deeper.

    Andrus



    This archive was generated by hypermail 2.0.0 : Thu May 27 2010 - 14:24:26 UTC