Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2727

NoSuchRepositoryException during startup

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 5.3.0.Final
    • None
    • JCR
    • None
    • Hide

      I unable to reproduce the exception. The incident occurs very rarely during wildfly restart.

      Show
      I unable to reproduce the exception. The incident occurs very rarely during wildfly restart.

    Description

      Wildfly throws exception during startup

      2018-04-17 19:56:22,667 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.modeshape.Documents.monitor: org.jboss.msc.service.StartException in service jboss
      .modeshape.Documents.monitor: Failed to start service
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.IllegalStateException: org.modeshape.jcr.NoSuchRepositoryException: There is no repository named "Documents"
      at org.modeshape.jboss.service.RepositoryService.getValue(RepositoryService.java:100)
      at org.modeshape.jboss.service.RepositoryService.getValue(RepositoryService.java:65)
      at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1158)
      at org.jboss.msc.service.ServiceRegistrationImpl.getValue(ServiceRegistrationImpl.java:199)
      at org.jboss.msc.service.ServiceControllerImpl.doInject(ServiceControllerImpl.java:1672)
      at org.jboss.msc.service.ServiceControllerImpl.access$2000(ServiceControllerImpl.java:51)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.performInjections(ServiceControllerImpl.java:1917)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1876)
      ... 3 more
      Caused by: org.modeshape.jcr.NoSuchRepositoryException: There is no repository named "Documents"
      at org.modeshape.jcr.ModeShapeEngine.getRepository(ModeShapeEngine.java:259)
      at org.modeshape.jboss.service.RepositoryService.getValue(RepositoryService.java:98)
      ... 10 more

      2018-04-17 19:56:22,671 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.modeshape.Documents.repository.reference-factory: org.jboss.msc.service.StartExcep
      tion in service jboss.modeshape.Documents.repository.reference-factory: Failed to start service
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.IllegalStateException
      at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
      at org.modeshape.jboss.service.RepositoryService.getEngine(RepositoryService.java:105)
      at org.modeshape.jboss.service.RepositoryService.getValue(RepositoryService.java:98)
      at org.modeshape.jboss.service.RepositoryService.getValue(RepositoryService.java:65)
      at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1158)
      at org.jboss.msc.service.ServiceRegistrationImpl.getValue(ServiceRegistrationImpl.java:199)
      at org.jboss.msc.service.ServiceControllerImpl.doInject(ServiceControllerImpl.java:1672)
      at org.jboss.msc.service.ServiceControllerImpl.access$2000(ServiceControllerImpl.java:51)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.performInjections(ServiceControllerImpl.java:1917)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1876)
      ... 3 more

      Modeshape subsystem starts and can handle the requests.despite the exceptions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cshazi Csaba Házi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: