CLI embedded server does not use JBOSS_CONFIG_DIR environment variable

Solution Verified - Updated -

Issue

  • Server config is relative to JBOSS_HOME
embed-server --server-config=../../../../../server/jboss-as/some-folder/standalone-full-ha.xml

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.2
  • JBOSS_CONFIG_DIR pointing to a folder not in JBOSS_HOME path.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.