今天有兄弟告诉我,测试环境突然AdminServer启动不了了,大家无法测试,查看日志如下:
starting weblogic with Java version:
Starting WLS with line:
/usr/java/jdk1.6.0_29/bin/java -server -Xms2048m -Xmx2048m -Xmn768m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError -verbose:gc -Xloggc:./logs/AdminServer_gc.out -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Dweblogic.threadpool.MinPoolSize=100 -Dweblogic.threadpool.MaxPoolSize=300 -Dweblogic.Name=AdminServer -Djava.security.policy=/tpsys/weblogic/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Djava.security.egd=file:///dev/urandom -da -Dplatform.home=/tpsys/weblogic/wlserver_10.3 -Dwls.home=/tpsys/weblogic/wlserver_10.3/server -Dweblogic.home=/tpsys/weblogic/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/tpsys/weblogic/patch_wls1036/profiles/default/sysext_manifest_classpath:/tpsys/weblogic/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
<Oct 26, 2016 4:11:35 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Oct 26, 2016 4:11:35 PM CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Oct 26, 2016 4:11:36 PM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.4-b02 from Sun Microsystems Inc.>
<Oct 26, 2016 4:11:37 PM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
<Oct 26, 2016 4:11:40 PM CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141266]Parsing Failure in config.xml: failed to find method MethodName{methodName='setCacheInAppDirectory', paramTypes=[boolean]} on class weblogic.management.configuration.AppDeploymentMBeanImpl>
<Oct 26, 2016 4:11:40 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Oct 26, 2016 4:11:40 PM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Oct 26, 2016 4:11:40 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
看到这个问题,第一反应就是config.xml被谁玩坏了,先检查下再说
结果发现这个文件最后的编辑日期是一周之前的,那么不是这个问题?(开始怀疑自己的判断了)
先上oracle官方看看,嘿还真有这个问题的解释,原文如下:
BEA-000362> <Server failed. Reason: [Management:141266]Parsing Failure in config.xml: failed to find method MethodName{methodName='setCacheInAppDirectory', paramTypes=[boolean]} on class weblogic.management.configuration.AppDeploymentMBeanImpl>".
Apparently Weblogic was not happy with a config.xml file parameter and the config file was corrupted. After digging at the config.xml file we found out that for every deployment, a new <cache-in-app-directory> parameter was added to the config file. Also the recent change made by partner was rolling back a PSU that was applied to their Weblogic Server.
看来第一反应还是挺正确的,在config.xml中找到了,一个server中多了一个参数<cache-in-app-directory>,删除后启动服务,正常~
参考:https://blogs.oracle.com/imc/entry/admin_server_startup_fails_with
相关推荐
weblogic安装步骤以及报错解决,word文档,文档带有参考的其他博主的原博链接,有需要的欢迎下载。
weblogic常见报错处理
AIX关于Weblogic的报错_Too_many_open_files_的处理
weblogic停止失败,再启动起不起来,因为有lok文件要删除,删除后再启动
weblogic启动优化脚本,可以解决weblogic控制台启动较慢问题,亲测有效
windows7服务器上weblogic启动失败异常:/Java/jre6/lib/ext/QTJava.zip was unexpected at this time,接下来介绍详细解决方法,需要的朋友可以参考下
有些情况下,在开发web项目中会遇到weblogic无法解析xml的错误,是因为weblogic在解析xml时是调用自己的方法去解析,会产生一些莫名其妙的错误,我们只要在web-inf下添加weblogic.xml让其让出解析权即可.
写出了weblogic服务器发布weblogic应用程序的步骤和如何更改weblogic的发布端口
Weblogic9异常解决nested errors.txtWeblogic9异常解决nested errors.txtWeblogic9异常解决nested errors.txtWeblogic9异常解决nested errors.txtWeblogic9异常解决nested errors.txt
weblogic启动日志详细说明介绍,报错了所有的初始化信息模块的介绍!
表现状况为:weblogic启动会在输入用户命,密码前等待2-3分钟后再继续启动
设置Weblogic启动不输用户密码
Script UI 官方教程,需要的童鞋可以来下载
很详尽的weblogic错误,运行weblogic会遇到一些错误,这个文档将详细介绍这些错误及解决的方法。
weblogic修改IP导致出错解决方案
weblogic监控 weblogic调优 weblogic版本区别 weblogic启动关闭脚本
使用SUN JDK 启动时要很长时间,但启动启来weblogic正常. 特征见下面标红部分,时间很长. test01@linux-suse:~/bea/weblogic92/samples/domains/wl_server/bin> ./startWebLogic.sh . JAVA Memory arguments: -Xms...
操作linux命令cd /prlife/weblogic/bea/user_projects/domains/prlwechat_domain/servers
该jar包解决报错java.lang.NoClassDefFoundError: org/apache/james/mime4j/MimeException,亲测可用。