Tuesday, April 17, 2018

How to let Arquillian know that JBoss is running on localhost

Just add the following to the configuration section:

${arquillian.wildfly.host:localhost}


My complete file was:

   <container qualifier="jboss" default="true">
        <!-- By default, Arquillian will use the JBOSS_HOME environment variable to find the JBoss EAP installation.
             If you prefer not to define the JBOSS_HOME environment variable, alternatively you can uncomment the
             following `jbossHome` property and replace EAP_HOME with the path to your JBoss EAP installation. -->
        <configuration>
            <property name="managementAddress">${arquillian.wildfly.host:localhost}</property>
            <property name="jbossHome">/Users/jeremydavis/Workspace/summit/jboss-eap-7.1</property>
        </configuration>
    </container>

No comments: