We run our Java backend application on OpenShift in a scaled application with multiple gears. We use JGroups to create own communication channels.
Therefore, we need to add some extra parameters to the JVM commandline, which starts the wildfly:
e.g. -Djgroups.bind_addr=$OPENSHIFT_WILDFLY_IP
How can we adjust that?
Best regards,
- badera
You can use the same process that is described here to set the JVM memory higher (https://developers.openshift.com/en/wildfly-jvm-memory.html).
rhc env-set JAVA_OPTS_EXT="-Xmx<memory>m" -a <appname>