标签:wildfly 8 jboss domain jvm 参数
本文演示JBoss 7/WildFly Domain 模式如何配置 Server 启动的 JVM 参数:
如下编辑Domain 模式配置文件 domain/configuration/domain.xml,在 <server-groups> 部分添加如下配置项:
<server-groups> <server-group name="main-server-group" profile="full"> <jvm name="default"> <heap size="1303m" max-size="1303m"/> <permgen max-size="256m"/> <jvm-options> <option value="-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"/> <option value="-Djava.library.path=/home/kylin/work/project/JVM/jvm/crash/native"/> </jvm-options> </jvm>
启动完成检查确认添加成功,如下:
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
JBoss 7/WildFly Domain 模式如何配置 Server 启动的 JVM 参数,布布扣,bubuko.com
JBoss 7/WildFly Domain 模式如何配置 Server 启动的 JVM 参数
标签:wildfly 8 jboss domain jvm 参数
原文地址:http://blog.csdn.net/kylinsoong/article/details/28595617