Decision central deployment failed due to "org.uberfire.java.nio.IOException: java.nio.file.FileAlreadyExistsException: .index/system/datasets/write.lock"

Solution Unverified - Updated -

Issue

  • While trying to upgrade from RHDM 7.2 to 7.3, getting the below error:

    "{\"WFLYCTL0080: Failed services\" => {\"jboss.deployment.unit.\\\"decision-central.war\\\".WeldStartService\" => \"Failed to start service
            Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-000049: Unable to invoke public void org.kie.worbench.screens.workbench.backend.impl.DefaultLuceneConfigProducer.setup() on org.kie.workbench.screens.workbench.backend.impl.DefaultLuceneConfigProducer@161288e
            Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public void org.kie.workbench.screens.workbench.backend.impl.DefaultLuceneConfigProducer.setup() on org.kie.workbench.screens.workbench.backend.impl.DefaultLuceneConfigProducer@161288e
            Caused by: java.lang.reflect.InvocationTargetException
            Caused by: org.uberfire.java.nio.IOException: java.nio.file.FileAlreadyExistsException: .index/system/datasets/write.lock
            Caused by: java.nio.file.FileAlreadyExistsException: .index/system/datasets/write.lock\"}}"
    
  • The kie-server deployment is successful. But the decision-central deployment failed with the above error.

  • Decision central deployment failed due to:

    org.uberfire.java.nio.IOException: java.nio.file.FileAlreadyExistsException: .index/system/datasets/write.lock
    

Environment

  • Red Hat Decision Manager (RHDM)

    • 7.3
    • 7.7
  • Red Hat Process Automation Manager (RHPAM)

    • 7.3
    • 7.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content