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>

weblogic启动到上面红色标注的地方,日志不滚动,一直处于停滞情况,要等好久才能往下执行。

 

(二)解决办法

修改Linux上Weblogic使用的jdk $JAVA_HOME/jre/lib/security/java.security 文件

将securerandom.source=file:/dev/urandom 修改为securerandom.source=file:/dev/./urandom

这样可以解决任何一个域Weblogic启动慢的问题。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值