当前位置:编程学习 > JAVA >>

急救--weblogic发布问题,在线等待

<2011-1-11 下午04时27分56秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 11.3-b02 from Sun Microsystems Inc.> 
<2011-1-11 下午04时27分56秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0  Fri Apr 9 00:05:28 PDT 2010 1321401 > 
<2011-1-11 下午04时27分57秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
<2011-1-11 下午04时27分57秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> 
<2011-1-11 下午04时27分57秒 CST> <Notice> <LoggingService> <BEA-320400> <The log file D:\MyWork\bea\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.> 
<2011-1-11 下午04时27分57秒 CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\MyWork\bea\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log00105. Log messages will continue to be logged in D:\MyWork\bea\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log.> 
<2011-1-11 下午04时27分57秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file D:\MyWork\bea\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.> 
<2011-1-11 下午04时27分59秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
<2011-1-11 下午04时28分00秒 CST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.deploy.internal.adminserver.DeploymentManager.getPendingDeploymentsForEditLockOwner(DeploymentManager.java:360)
at weblogic.management.provider.internal.EditAccessImpl.removePendingUpdateTasks(EditAccessImpl.java:560)
at weblogic.management.provider.internal.EditAccessImpl.undoUnsavedChanges(EditAccessImpl.java:555)
at weblogic.management.provider.internal.EditAccessImpl.acquireLock(EditAccessImpl.java:264)
at weblogic.management.provider.internal.EditAccessImpl.startEdit(EditAccessImpl.java:289)
Truncated. see log file for complete stacktrace

<2011-1-11 下午04时28分00秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED> 
<2011-1-11 下午04时28分00秒 CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> 
<2011-1-11 下午04时28分00秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN> 
--------------------编程问答-------------------- 这个应该是weblogic的一个bug。

从stack trace看,weblogic在启动deployment service,某个条件下要移除pending的update task。这时它需要一个pendingDeploymentForEditLockOwner的锁。这个锁在weblogic.deploy.internal.adminserver.DeploymentManager类中。可是weblogic.deploy.internal.adminserver.DeploymentManager在当时还没初始化。所以pendingDeploymentForEditLockOwner是空。

你先试试:

1)修改config.xml,把所有你自己的application都去掉
2)删除admin server的temp和stage目录

重启试试。


-------------------------------------------------
爱问易 - 非官方技术支持互助平台
http://www.iaskengineer.com
-------------------------------------------------
几块钱就能解决的问题,何必困扰好几天?
------------------------------------------------- --------------------编程问答-------------------- 我也是这个问题求解决
补充:Java ,  Web 开发
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,