Show Table of Contents
5.3.3. 配置 IPv6 地址的 JVM Stack 首选项
- 概述
- 本节涵盖通过配置文件配置 JBoss EAP 6 安装首选 IPv6 地址。
过程 5.3. 配置 JBoss EAP 6 安装首选 IPv6 地址
- 打开相关的安装文件:
对于独立服务器:
打开EAP_HOME/bin/standalone.conf。对于受管域:
打开EAP_HOME/bin/domain.conf。
- 附加下列 Java 属性到 Java VM 选项:
-Djava.net.preferIPv6Addresses=true
例如:# Specify options to pass to the Java VM. # if [ "x$JAVA_OPTS" = "x" ]; then JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=false -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv6Addresses=true" fi

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.