1 Reply Latest reply on Feb 24, 2014 4:34 AM by Horia Chiorean

    Garbage Collection Error

    Barış Önen Newbie

      I get the following error with configuration : jdk1.7.0_51, jboss-eap-6.1 and modeshape-3.6.0.Final-jbosseap-61-dist. Any help?

       

       

      11:03:25,930 ERROR [org.modeshape.jcr.JcrRepository] (modeshape-gc-14-thread-1) Error during background garbage collection: cec18c4317f1e7mode:locks: org.modeshape.jcr.cache.NodeNotFoundException: cec18c4317f1e7mode:locks

        at org.modeshape.jcr.cache.document.SessionNode.getPath(SessionNode.java:478) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.PathCache.getPath(PathCache.java:49) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.persistChanges(WritableSessionCache.java:944) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:455) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:419) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.SystemContent.save(SystemContent.java:111) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$RunningState.cleanUpLocks(JcrRepository.java:1791) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$LockGarbageCollectionTask.doRun(JcrRepository.java:2125) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$BackgroundRepositoryTask.run(JcrRepository.java:2095) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_51]

        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_51]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_51]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]

        at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

       

       

      11:08:25,931 ERROR [org.modeshape.jcr.JcrRepository] (modeshape-gc-14-thread-1) Error during background garbage collection: cec18c4317f1e7mode:locks: org.modeshape.jcr.cache.NodeNotFoundException: cec18c4317f1e7mode:locks

        at org.modeshape.jcr.cache.document.SessionNode.getPath(SessionNode.java:478) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.PathCache.getPath(PathCache.java:49) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.persistChanges(WritableSessionCache.java:944) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:455) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:419) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.SystemContent.save(SystemContent.java:111) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$RunningState.cleanUpLocks(JcrRepository.java:1791) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$LockGarbageCollectionTask.doRun(JcrRepository.java:2125) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$BackgroundRepositoryTask.run(JcrRepository.java:2095) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_51]

        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_51]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_51]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]

        at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

       

       

      11:13:25,943 ERROR [org.modeshape.jcr.JcrRepository] (modeshape-gc-14-thread-1) Error during background garbage collection: cec18c4317f1e7mode:locks: org.modeshape.jcr.cache.NodeNotFoundException: cec18c4317f1e7mode:locks

        at org.modeshape.jcr.cache.document.SessionNode.getPath(SessionNode.java:478) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.PathCache.getPath(PathCache.java:49) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.persistChanges(WritableSessionCache.java:944) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:455) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:419) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.SystemContent.save(SystemContent.java:111) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$RunningState.cleanUpLocks(JcrRepository.java:1791) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$LockGarbageCollectionTask.doRun(JcrRepository.java:2125) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$BackgroundRepositoryTask.run(JcrRepository.java:2095) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_51]

        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_51]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_51]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]

        at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

       

       

      11:18:25,938 ERROR [org.modeshape.jcr.JcrRepository] (modeshape-gc-14-thread-1) Error during background garbage collection: cec18c4317f1e7mode:locks: org.modeshape.jcr.cache.NodeNotFoundException: cec18c4317f1e7mode:locks

        at org.modeshape.jcr.cache.document.SessionNode.getPath(SessionNode.java:478) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.PathCache.getPath(PathCache.java:49) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.persistChanges(WritableSessionCache.java:944) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:455) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:419) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.SystemContent.save(SystemContent.java:111) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$RunningState.cleanUpLocks(JcrRepository.java:1791) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$LockGarbageCollectionTask.doRun(JcrRepository.java:2125) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at org.modeshape.jcr.JcrRepository$BackgroundRepositoryTask.run(JcrRepository.java:2095) [modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_51]

        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_51]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_51]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]

        at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

        • 1. Re: Garbage Collection Error
          Horia Chiorean Master

          The error indicates that the system area of the repository is corrupted (this is where the locks node is stored) which shouldn't happen normally, as users shouldn't have direct contact with it.

           

          Please give us more information regarding your use case & configuration - it appears you are using locks. Are you running in a cluster ?

           

          Also, try to update to the latest 3.x version - 3.7.1 - and check if the error is still there.