JEE Study|JAVA EE|企业级开发学习网

标题: WAS 通过配置文件修改堆大小 [打印本页]

作者: JeeStudy    时间: 2016-12-3 09:55
标题: WAS 通过配置文件修改堆大小
C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\AngelPCNode01Cell\nodes\AngelPCNode01\servers\server1\server.xml
    <jvmEntries debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" debugMode="false" disableJIT="false" executableJarFileName="" genericJvmArguments="" hprofArguments="" initialHeapSize="1024" maximumHeapSize="1024" runHProf="false" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" xmi:id="JavaVirtualMachine_1183122130078">
      <systemProperties name="com.ibm.security.jgss.debug" required="false" value="off" xmi:id="Property_1"/>
      <systemProperties name="com.ibm.security.krb5.Krb5Debug" required="false" value="off" xmi:id="Property_2"/>
    </jvmEntries>

[XML] 纯文本查看 复制代码
    <jvmEntries debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" debugMode="false" disableJIT="false" executableJarFileName="" genericJvmArguments="" hprofArguments="" initialHeapSize="1024" maximumHeapSize="1024" runHProf="false" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" xmi:id="JavaVirtualMachine_1183122130078">
      <systemProperties name="com.ibm.security.jgss.debug" required="false" value="off" xmi:id="Property_1"/>
      <systemProperties name="com.ibm.security.krb5.Krb5Debug" required="false" value="off" xmi:id="Property_2"/>
    </jvmEntries>



WAS 在控制台修改了堆大小后,重启失败后,无法进入控制台修改,这个时候就需要进入配置文件进行修改。









欢迎光临 JEE Study|JAVA EE|企业级开发学习网 (http://jeestudy.com/) Powered by Discuz! X3.2