JBoss startup parameters)

Source: Internet
Author: User
Tags jboss
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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.