Different start-up options for JBoss EAP 6 and 7

Solution Verified - Updated -

Issue

  • What are possible options can be used to start JBoss EAP 6 server instance ?
  • How to set up a custom location for the domain.xml file under JBOSS_HOME/domain/configuration
  • How to run different domain if i run domain.sh. We are using JBoss EAP 6.1.0 version I created two domains like domain1 and domain2 on same machine. Default domain is running if i run ./domain.sh. I want to be run domain2 if i run ./domain.sh with out passing any other parameters like base.dir through the command line. What file we need to modify and where we want to change in domain.sh script file.
  • I'm using domain.sh -Djboss.server.base.dir=/jboss/path ...... to startup JBoss, but seems the parameter is not picked up.
  • How to enable the system properties with –D option in jboss EAP 6?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7

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