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
 

你可能感兴趣的:(java,weblogic,Security)