This article demonstrates how JBoss 7/wildfly Domain mode configures Server-initiated JVM parameters:
Edit the domain mode profile domain/configuration/domain.xml as follows, and add the following configuration item in the <server-groups> section:
<server-groups>
<server-group name= "Main-server-group" profile= "full" >
<JVM name= "Default" >
As above, add the JVM debug parameters to the server instance in Main-server-group, and the JVM system parameters.
Start the completion check to confirm the addition success, as follows:
Kylin 6393 66.2 5.4 1858972 441544 pts/1 sl+ 10:12 0:11/usr/java/jdk1.7.0_21/bin/java-d[server:server-one]-XX: Permsize=256m-xx:maxpermsize=256m-xms1303m-xmx1303m-server-xrunjdwp:transport=dt_socket,address=8787,server=y, Suspend=n-djava.library.path=/home/kylin/work/project/jvm/jvm/crash/native-d[host Controller]=true- djava.awt.headless=true-djboss.modules.system.pkgs=org.jboss.byteman-djboss.home.dir=/home/kylin/work/eap/ jboss-eap-6.1-djava.net.preferipv4stack=true-djboss.server.log.dir=/home/kylin/work/eap/jboss-eap-6.1/domain/ Servers/server-one/log-djboss.server.temp.dir=/home/kylin/work/eap/jboss-eap-6.1/domain/servers/server-one/tmp -djboss.server.data.dir=/home/kylin/work/eap/jboss-eap-6.1/domain/servers/server-one/data- dlogging.configuration=file:/home/kylin/work/eap/jboss-eap-6.1/domain/servers/server-one/data/ logging.properties-jar/home/kylin/work/eap/jboss-eap-6.1/jboss-modules.jar-mp/home/kylin/work/eap/ Jboss-eap-6.1/modules-jaxpmodule Javax.xml. Jaxp-provider Org.jboss.as.server