在WLS集群环境中出现ManagedServer 启动状态为admin。告警类似如下情况:
####<Dec 17, 2010 5:57:13 PM GMT+08:00> <Emergency> <Deployer> <hgpsfe03> <VSOP1> <[ACTIVE] ExecuteThread: '0' for queue: 'WebLogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1292579833733> <BEA-149259> <Server 'VSOP1' in cluster 'Cluster1' is being brought up in administration state due to failed deployments.>
同时日志显示为admin状态:
####<Dec 17, 2010 5:57:26 PM GMT+08:00> <Notice> <WebLogicServer> <hgpsfe03> <VSOP1> <main> <<WLS Kernel>> <> <> <1292579846135> <BEA-000365> <Server state changed to ADMIN>
####<Dec 17, 2010 5:57:26 PM GMT+08:00> <Notice> <WebLogicServer> <hgpsfe03> <VSOP1> <main> <<WLS Kernel>> <> <> <1292579846136> <BEA-000360> <Server started in ADMIN mode>
针对此问题的解决方案为:
尝试在setDomainEnv.sh中加入-Dweblogic.deployment.IgnorePrepareStateFailures=true
加的方法为:
JAVA_OPTIONS="${JAVA_OPTIONS} ${JAVA_PROPERTIES}-Dweblogic.deployment.IgnorePrepareStateFailures=true -Dwlw.iterativeDev=${iterativeDevFlag} -Dwlw.testConsole=${testConsoleFlag} -Dwlw.logErrorsToConsole=${logErrorsToConsoleFlag}"
重启ManagedServer后,状态为running状态。
--转自