weblogic啓動緩慢解決方案 . 啓動到 卡住不動

(一)遇到場景

<2013-12-10 04?05ST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP3  Mon Mar 10 08:28:41 EDT 2008 1096261 > 



ts  -Dweblogic.Name=AdminServer -Djava.security.policy=/data/bea/weblogic92/server/lib/weblogic.policy   weblogic.Server
<2013-12-10 04?18ST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/data/lcims/bea/weblogic92/platform/lib/p13n/p13n-schemas.jar:/data/lcims/bea/weblogic92/platform/lib/p13n/p13n_common.jar:/data/lcims/bea/weblogic92/platform/lib/p13n/p13n_system.jar:/data/lcims/bea/weblogic92/platform/lib/wlp/netuix_common.jar:/data/lcims/bea/weblogic92/platform/lib/wlp/netuix_schemas.jar:/data/lcims/bea/weblogic92/platform/lib/wlp/netuix_system.jar:/data/lcims/bea/weblogic92/platform/lib/wlp/wsrp-common.jar> 
<2013-12-10 04?18ST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.4.0-90_CR358515-94243-1.5.0_12-20080118-1154-linux-ia32 from BEA Systems, Inc.> 
<2013-12-10 04?18ST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP3  Mon Mar 10 08:28:41 EDT 2008 1096261 > 
 <2013-12-10 04?21ST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /data/lcims/bea/license.bea> 
<2013-12-10 04?21ST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
<2013-12-10 04?21ST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> 
<2013-12-10 04?21ST> <Notice> <Log Management> <BEA-170019> <The server log file /data/lcims/bea/user_projects/domains/testdomain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.> 
<2013-12-10 04?21ST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
<2013-12-10 04?21ST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY> 
<2013-12-10 04?21ST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
<2013-12-10 04?21ST> <Warning> <HTTP> <BEA-101339> <The context parameter: weblogic.httpd.inputCharset./* has been deprecated. Instead use the element: charset-params in weblogic.xml.> 
<2013-12-10 04?21ST> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.> 
<2013-12-10 04?21ST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN> 
<2013-12-10 04?21ST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING> 

<2013-12-10 04?21ST> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias aa from the jks keystore file /root/zhengshu/keystore.jks.> 


weblogic啓動到上面2個紅色標註的地方,日誌不滾動,一直處於停滯情況,要等好久才能往下執行。


(二)解決辦法:

這是SUN,JDK一個bug解決辦法是在weblogic啓動腳本里setDomainEnv.sh: 加入以下內容

JAVA_OPTIONS="${JAVA_OPTIONS} -Djava.security.egd=file:/dev/./urandom"
export JAVA_OPTIONS


也可能你看到日誌不太一樣,也可以參考

http://blog.sina.com.cn/s/blog_4053302b0100b9uw.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章