Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-2226

Exceptions using DB based repository with WAS 6.1


    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.5.4
    • Fix Version/s: None
    • Component/s: clustering
    • Labels:


      We are using Jackrabbit 1.5.4 in a cluster deployment with DB based repository. Here is how the repository.xml looks like:
      <DataStore class="org.apache.jackrabbit.core.data.db.DbDataStore">
      <param name="driver" value="javax.naming.InitialContext"/>
      <param name="url" value="jdbc/dbjournal"/>
      <param name="databaseType" value="oracle"/>
      <param name="minRecordLength" value="1024"/>
      <param name="copyWhenReading" value="true"/>
      <param name="tablePrefix" value="JR_"/>
      <param name="maxConnections" value="10"/>
      Same datasource is being used for journal and persistence manager as well.

      With this deployment we keep getting the following exceptions in the WAS logs:

      org.apache.jackrabbit.core.cluster.ClusterNode:590) - Unable to create log entry.
      org.apache.jackrabbit.core.journal.JournalException: Unable to lock global revision table.
      (org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager:453) - could not execute statement, reason: DSRA9110E: Statement is closed., state/code: null/0

      [7/21/09 20:08:18:247 CDT] 0000003c SystemOut O 2009-07-21 20:08:18,246 ERROR (org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager:239) - failed to write property state: 4d80415d-d65b-4e01-93da-b16d15883058/



      com.ibm.websphere.ce.cm.ObjectClosedException: DSRA9110E: Statement is closed.

      This is a big blocker for our project since in some cases the document fails to upload in the db.

      1. JCR-2226.patch
        30 kB
        Stephan Huttenhuis

        Issue Links


          Stephan Huttenhuis made changes -
          Attachment JCR-2226.patch [ 12440045 ]
          Stephan Huttenhuis made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jukka Zitting made changes -
          Priority Blocker [ 1 ] Minor [ 4 ]
          Martijn Hendriks made changes -
          Field Original Value New Value
          Link This issue is related to JCR-1349 [ JCR-1349 ]
          Rajiv Kasera created issue -


            • Assignee:
              Rajiv Kasera
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: