Uploaded image for project: 'Zanata'
  1. ZNTA-1786

write lock when shutting down application server

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: unspecified
    • Resolution: Ready for Release
    • Affects Version/s: platform-4.0.0
    • Fix Version/s: platform-4.3.0
    • Component/s: None
    • Labels:
      None
    • Tested Version/s:
      None

      Description

      I happens often when closing wildfly 10.1.0-final that I get following errors after starting it again.

      ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 88) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./zanata: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./zanata: java.lang.RuntimeException: org.zanata.exception.ZanataInitializationException: Lucene lock files found. Check if Zanata is already running. Otherwise, Zanata was not shut down cleanly: delete the lock files: [C:\Users\user\zanata\indexes\org.zanata.model.HAccount\write.lock, C:\Users\user\zanata\indexes\org.zanata.model.HProject\write.lock, C:\Users\user\zanata\indexes\org.zanata.model.HProjectIteration\write.lock, C:\Users\user\zanata\indexes\org.zanata.model.HTextFlowTarget\write.lock]
      
      Caused by: java.lang.RuntimeException: org.zanata.exception.ZanataInitializationException: Lucene lock files found. Check if Zanata is already running. Otherwise, Zanata was not shut down cleanly: delete the lock files: [C:\Users\user\zanata\indexes\org.zanata.model.HAccount\write.lock, C:\Users\user\zanata\indexes\org.zanata.model.HProject\write.lock, C:\Users\user\zanata\indexes\org.zanata.model.HProjectIteration\write.lock, C:\Users\user\zanata\indexes\org.zanata.model.HTextFlowTarget\write.lock]
      

      So I always have to delete them manually. Is it a bug or is there a way to shut down the application server a clean way?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lob lob
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: