欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

weblogic服务莫名其妙的关闭报段错误

程序员文章站 2022-04-17 19:37:22
...

现场发布了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=${S

现场发布了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:

/oracle/app/admin/IDMDomain/mserver/IDMDomain/bin/startWebLogic.sh: line 175: 30628 Segmentation fault ${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}

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