`
ahut9923
  • 浏览: 238144 次
  • 性别: Icon_minigender_1
  • 来自: 安徽
社区版块
存档分类
最新评论

weblogic启动时出错

阅读更多
weblogic启动时报如下错误:

weblogic.management.ManagementException: [Management:141223]The server name *.*.160.239 specified with -Dweblogic.Name does not exist. The configuration includes the following

错误原因:

   指定的服务名不存在;

分析:

打开startWeblogic.sh文件找到-Dweblogic.Name 参数,将它的值修改为你的服务吗

如:
if [ "${WLS_REDIRECT_LOG}" = "" ] ; then
echo "Starting WLS with line:"
echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=SampleServer -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy  ${PROXY_SETTINGS} ${SERVER_CLASS}"
${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=SampleServer -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} ${SERVER_CLASS}
else
echo "Redirecting output from WLS window to ${WLS_REDIRECT_LOG}"
${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=SampleServer -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} ${SERVER_CLASS}  >"${WLS_REDIRECT_LOG}" 2>&1
fi
 
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics