Skip to content

Commit

Permalink
Support dual stack network, IP v4 and v6
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdenise committed Jan 11, 2023
1 parent 7463fa9 commit 476b3ff
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</feature>
<feature spec="interface">
<param name="interface" value="bindall"/>
<param name="inet-address" value="0.0.0.0"/>
<param name="inet-address" value="${jboss.bind.address.bindall:0.0.0.0}"/>
</feature>
</feature-group-spec>
4 changes: 2 additions & 2 deletions jboss/container/eap/launch/common/added/openshift-launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

function runServer() {
local instanceDir=$1
launchServer "$JBOSS_HOME/bin/standalone.sh -c standalone-openshift.xml -bmanagement 0.0.0.0 -Djboss.server.data.dir=${instanceDir} -Dwildfly.statistics-enabled=true"
launchServer "$JBOSS_HOME/bin/standalone.sh -c standalone-openshift.xml -Djboss.server.data.dir=${instanceDir} -Dwildfly.statistics-enabled=true"
}

function init_data_dir() {
Expand Down Expand Up @@ -56,4 +56,4 @@ else

runServer "${JBOSS_HOME}/standalone/data"

fi
fi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RECOVERY_TIMEOUT=${RECOVERY_TIMEOUT:-360}
RECOVERY_PAUSE=${RECOVERY_PAUSE:-10}

function runMigrationServer() {
exec $JBOSS_HOME/bin/standalone.sh -c standalone-openshift.xml -bmanagement 127.0.0.1 -Djboss.server.data.dir="$1" ${2} ${JAVA_PROXY_OPTIONS} ${JBOSS_HA_ARGS} ${JBOSS_MESSAGING_ARGS}
exec $JBOSS_HOME/bin/standalone.sh -c standalone-openshift.xml -bmanagement ${SERVER_LOOPBACK_ADDRESS} -Djboss.server.data.dir="$1" ${2} ${JAVA_PROXY_OPTIONS} ${JBOSS_HA_ARGS} ${JBOSS_MESSAGING_ARGS}
}

source ${JBOSS_HOME}/bin/launch/openshift-migrate-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# wildfly-cekit-modules will look for each of the listed files and run them if they exist.
CONFIG_SCRIPT_CANDIDATES=(
$JBOSS_HOME/bin/launch/backward-compatibility.sh
$JBOSS_HOME/bin/launch/ip.sh
$JBOSS_HOME/bin/launch/configure_extensions.sh
$JBOSS_HOME/bin/launch/passwd.sh
$JBOSS_HOME/bin/launch/messaging.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# wildfly-cekit-modules will look for each of the listed files and run them if they exist.
CONFIG_SCRIPT_CANDIDATES=(
$JBOSS_HOME/bin/launch/backward-compatibility.sh
$JBOSS_HOME/bin/launch/ip.sh
$JBOSS_HOME/bin/launch/configure_extensions.sh
$JBOSS_HOME/bin/launch/passwd.sh
$JBOSS_HOME/bin/launch/messaging.sh
Expand Down

0 comments on commit 476b3ff

Please sign in to comment.