Results 1 to 2 of 2

Thread: JOTM, XAPool, and Oracle

  1. #1
    Join Date
    Aug 2004
    Location
    Athens, OH
    Posts
    3

    Default JOTM, XAPool, and Oracle

    I'm getting a "maximum open cursors exceeded" error when using JOTM, XAPool, and Oracle. I recently went from DBCP to JOTM/XAPool and never had that problem when using DBCP. When I set the "preparedStmtCacheSize" of StandardXADataSource to 0, the error isn't present (so that's the likely culprit).

    I just wondered if anyone else had this problem and if there is a way to keep a preparedstmt cache and avoid the cursor error.

    Also, it appears that outside of using a J2EE container, JOTM/XAPool is the way to go for distributed transactions. Is there anything else recommended?

    Thanks
    ~D

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    I've seen open cursors exceeded with Hibernate/Commons DBCP, even with local transactions. The issue seems to be the Oracle thin driver and prepared statement caching, rather than the transaction management.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Similar Threads

  1. Replies: 3
    Last Post: Mar 1st, 2010, 05:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •