Cannot start embedded host controller, Could not read or create the domain UUID in file for JBoss EAP CLI

Solution Unverified - Updated -

Issue

  • Applying a script starting with embed-host-controller with command line:

    /opt/rh/eap7/root/usr/share/wildfly/bin/jboss-cli.sh -Djboss.server.config.dir=/opt/master/domain/configuration --file=script.cli
    

    Results in error:

    Cannot start embedded Host Controller: WFLYEMB0022: Cannot invoke 'start' on embedded process: WFLYHC0160: Could not read or create the domain UUID in file: /opt/rh/eap7/root/usr/share/wildfly/domain/data/kernel/process-uuid: /opt/rh/eap7/root/usr/share/wildfly/domain/data/kernel/process-uuid
    

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 7
  • jboss-cli.sh
  • RPM installation or domain directory outside of a read-only JBoss EAP installation

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