现场发布了4个weblogic节点,weblogic版本是10.3,jdk的版本是1.6.0_24,在同一时间莫名其妙的停止服务。报错是:
/bea/GG/domains/domain/bin/startWebLogic.sh: line 188: 22691 段错误 ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}
解决方法有两种,选后者。
One has setup OIM 11g using JDK 1.6.0_21 or less and you are encountring Segmentaiton fault during srever startup.
Logs show:
<May 16, 2011 10:19:48 AM> <FINEST> <NodeManager> <Waiting for the process to die: 30581>
CAUSE
The real cause of issue hasn't been known. It could be due to a JVM bug found in older version. To investigate further a Bug:12574592had been raised however it has been closed as the issue didn't get occur after the solution given below was tried.
Bug:12574592 - JVM PROCESS SEGFAULTS DURING CLASS LOADING (status closed)
SOLUTION
As a workaround:
1) Upgrade JDK from 1.6.0_21 to 1.6.0_23 (or latest version, 1.6.0_24)
2) Modify WebLogic startup script (or Node Manager server startup settings) to add -Dsun.zip.disableMemoryMapping=true