Skip to content

Instantly share code, notes, and snippets.

@roncat
Last active November 22, 2022 11:17
Show Gist options
  • Save roncat/303165f0ec8350db8353 to your computer and use it in GitHub Desktop.
Save roncat/303165f0ec8350db8353 to your computer and use it in GitHub Desktop.
Configurations
Parameters
==========
JVM_OPTS:
JBOSS_OPTS:
-Djboss.home.dir=/d2/java/jboss-eap-6.2 ($JBOSS_HOME)
-Djboss.server.base.dir=/d2/java/jboss-eap-6.2/asp264005 ($JBOSS_HOME/standalone)
-Djboss.server.default.config=standalone.xml or -c standalone.xml
-Djboss.server.log.threshold=INFO
-Djboss.server.log.dir=/d1/log/
-Djboss.socket.binding.port-offset=ports-default
-Djboss.socket.binding.port-offset=1000
-Djboss.bind.address=10.0.2.166 or -b
-Djboss.bind.address.management=10.0.2.166 or -bmanagment ()
-Djboss.bind.address.unsecure=127.0.0.1 (IIOP)
-Dorg.jboss.boot.log.file=boot.log
* Domain:
./domain.sh
--domain.config=myconfig.xml
--host.config=myhost.xml
--backup and --cached-dc
./domain.sh --host-config=host-master.xml -Djboss.domain.base.dir=../master -Djboss.bind.address.management=192.168.0.114
./domain.sh -Djboss.bind.address=192.168.0.115 --host-config=host-slave.xml -Djboss.domain.base.dir=../host1 -Djboss.domain.master.address=192.168.0.114
* Standalone:
./standalone.sh -Djboss.bind.address.management=192.168.0.113 -Djboss.bind.address=192.168.0.113 -Djboss.server.base.dir=../standalone1 -c standalone-ha.xml -Djboss.node.name=h1
./standalone.sh -Djboss.bind.address.management=192.168.0.113 -Djboss.bind.address=192.168.0.113 -Djboss.server.base.dir=../standalone2 -Djboss.socket.binding.port-offset=100 -c standalone-ha.xml -Djboss.node.name=h2
Mudules configuration
=====================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment