6 Replies Latest reply on Apr 21, 2016 8:15 AM by Guillem Folch

    Cannot start the repository when configuring Modeshape as a cluster

    Guillem Folch Newbie

      Hi,

       

      I'm having some strange issues when I try to setup a Modeshape cluster using Oracle 11 as a backend. and using Modeshape 4.0.4

      It works in most of the enviroments but we have a special setup where it fails systematically when starting the repository for the first time and trying to login.

       

      [4/20/16 9:42:25:514 CEST] 00000003 ThreadMonitor W   WSVR0605W: Thread "server.startup : 0" (0000000a) has been active for 714598 milliseconds and may be hung.  There is/are 1 thread(s) in total in the server that may be hung.

        at sun.misc.Unsafe.park(Native Method)

        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:182)

        at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:822)

        at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:980)

        at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1292)

        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:229)

        at java.util.concurrent.FutureTask.get(FutureTask.java:94)

        at org.hibernate.search.backend.impl.lucene.LuceneBackendQueueProcessor.applyWork(LuceneBackendQueueProcessor.java:97)

        at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.performOperations(DirectoryBasedIndexManager.java:138)

        at org.hibernate.search.backend.impl.WorkQueuePerIndexSplitter.commitOperations(WorkQueuePerIndexSplitter.java:63)

        at org.hibernate.search.backend.impl.BatchedQueueingProcessor.performWorks(BatchedQueueingProcessor.java:96)

        at org.hibernate.search.backend.impl.TransactionalWorker.performWork(TransactionalWorker.java:104)

        at org.modeshape.jcr.query.lucene.basic.BasicLuceneSchema.updateIndex(BasicLuceneSchema.java:436)

        at org.modeshape.jcr.RepositoryQueryManager.reindexContent(RepositoryQueryManager.java:385)

        at org.modeshape.jcr.RepositoryQueryManager.reindexContent(RepositoryQueryManager.java:262)

        at org.modeshape.jcr.RepositoryQueryManager.reindexContent(RepositoryQueryManager.java:228)

        at org.modeshape.jcr.JcrRepository$RunningState.postInitialize(JcrRepository.java:1324)

        at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:408)

        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:648)

        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:609)

        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:155)

       

      I can send you config files if needed, but I don't understand what the issue could be as I can run the same configuration in my laptop without any issue.

       

      Thanks in advance