was 上传部署war包时报内存溢出的问题解决办法
到was管理的安装目录:
/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/sbhxtyfwpt-01Cell01/nodes/sbhxtyfwpt-01CellManager01/servers/dmgr/
修改server.xml文件的内容 增加 initialHeapSize="512" maximumHeapSize="512"
<jvmEntries xmi:id="JavaVirtualMachine_1" initialHeapSize="512" maximumHeapSize="512" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" runHProf="false" hprofArguments="" debugMode="false" debugArgs="-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7792" genericJvmArguments="">
<systemProperties xmi:id="Property_15" name="com.ibm.security.jgss.debug" value="off" required="false"/>
<systemProperties xmi:id="Property_16" name="com.ibm.security.krb5.Krb5Debug" value="off" required="false"/>
<systemProperties xmi:id="Property_1503889844279" name="java.awt.headless" value="true"/>
</jvmEntries>
上一篇: JaxWs基于消息编程
下一篇: 简单的WebService实现