JBoss Bootstrap Environment
Jboss_home:/usr/Java/jboss4
Java:/usr/Java/j2sdk/bin/Java
Java_opts:-dprogram. Name = run. Sh-server-xms128m-xmx512m-dsun. RMI. DGC. Client. gcinterval = 3600000-dsun. RMI. DGC. server. gcinterval = 3600000
Classpath:/usr/Java/jboss4/bin/run. jar:/usr/Java/j2sdk/lib/tools. Jar
========================================================== ======================================
Usage: Run. Sh [Options]
Options:
-H,-help show this help message
-V,-version show version information
-Stop processing options
-D <Name> [= <value>] set a system property
-D,-bootdir = <dir> set the BOOT patch directory; must be absolute or URL
-P,-patchdir = <dir> set the patch directory; must be absolute or URL
-N,-netboot = <URL> boot from net with the given URL as base
-C,-configuration = <Name> set the server configuration name
-B,-bootlib = <FILENAME> add an extra Library to the front bootclasspath
-L,-library = <FILENAME> add an extra Library to the loaders classpath
-C,-classpath = <URL> add an extra URL to the loaders classpath
-P,-properties = <URL> load system properties from the given URL
-B,-host = -G,-partition = <Name> HA partition name (default = defaultdomain)
-U,-udp = <ip> UDP multicast address
-L,-log = <log4j | JDK> specify the logger plugin type
There are several common parameters.
-C service configuration name: Specifies the service configuration to be started by JBoss. The default value is default.-C all is commonly used.
-B is bound to the IP address of the JBoss service, especially when the EJB service is deployed. Only the bound IP address can be used to find the EJB service. In Linux, if the IP address is not bound, the EJB service cannot be found. for simple web applications, You can bind full addresses without binding IP addresses. You can access dual-nic or multiple IP addresses through different IP addresses.
-G: bind the HA partition name for the EJB cluster group.
-U udp multicast address, used in the cluster JBoss environment. The default value is 230.0.0.4. If the LAN has multiple JBoss services with all configurations (with cluster configurations) enabled, in the JBoss log, you can see that the multicast information appears from time to time. You can set it to a different multicast address to avoid such interference. the valid value is the broadcast segment mentioned in the IP protocol.