Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-23616

[QE](7.4.z) WFCORE-5927 - Misleading message for embedded server configuration file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.4.7.CR1, 7.4.7.GA
    • 7.4.5.CR1, 7.4.5.GA
    • Server
    • None
    • False
    • None
    • False
    • User Experience
      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

    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
              dcihak@redhat.com Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: