Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5927

Misleading message for embedded server configuration file

    XMLWordPrintable

Details

      1. Start CLI .$EAP_HOME/bin/jboss-cli.sh
      2. Use a configuration file outside of the $EAP_HOME/standalone/configuration e.g. appclient.xml: embed-server -c=../../appclient/configuration/appclient.xml
    • User Experience

    Description

      When using embedded server configuration file outside of the directory $EAP_HOME/standalone/configuration error message occurs:

      Cannot start embedded server: WFLYEMB0022: Cannot invoke 'start' on embedded process: WFLYCTL0214: Could not get main file: ../../appclient/configuration/appclient.xml. Specified 
      files must be relative to the configuration dir:

      Especially the second part of the message starting "Specified
      files must be relative to the configuration dir" is misleading for the user as the relative path was provided by -c=../../appclient/configuration/appclient.xml. In other words it could be great to mention that configuration dir could be set by the property jboss.server.config.dir during jboss-cli start.

      Attachments

        Issue Links

          Activity

            People

              rchakrab Ranabir Chakraborty
              rchakrab Ranabir Chakraborty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: