Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2679

Lock Problem when accessing JCR

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.5.3, 1.6.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      JBOSS 4.2.3 on jre 1.5.0_15 with XA transactions and Oracle10g

      Description

      Hi,
      We're using Jackrabbit 1.6.2 as an internal CMS in an application we developped.
      It runs in JBOSS 4.2.3 on jre 1.5.0_15 with XA transactions and Oracle10g

      We have about 15 users adding / deleting files in the repository.
      30 others just do read only CMS access and other stuff.

      Things work fine except that sometimes, suddenly everything gets stuck and all we have left is those kind of errors :
      [org.apache.jackrabbit.core.query.lucene.NodeIteratorImpl] : Exception retrieving Node with UUID : XXXXXXX-XXX-etc: javax.jcr.ItemNotFoundException: XXXXXXX-XXX-etc

      All our JCR connections are now dead. If we restart JBOSS, things get back to normal, until the next crash.

      It looks like the bug usually happens when this kind of sequence takes place (though that may not be the only one) :
      XA transaction begins
      filenode1 gets deleted
      filenode2 gets deleted
      other oracle stuff takes place... and fails
      XA rollbacks.

      => JCR is dead.

      At that point, "touching" the datasource has it reinitialised by JBOSS but unfortunately the lock is still there : JBOSS has to be restarted.

        Attachments

        1. workspace.xml
          1 kB
          Laurent Prevosto
        2. thread_dump.txt
          518 kB
          Laurent Prevosto
        3. repository-prod.xml
          6 kB
          Laurent Prevosto

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lplp Laurent Prevosto
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: