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, 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