码迷,mamicode.com
首页 > Web开发 > 详细

解决weblogic Managed Server启动非常慢的情况

时间:2015-07-15 12:43:16      阅读:656      评论:0      收藏:0      [点我收藏+]

标签:

jdk版本:1.7.0_79

查看控制台日志停留在如下地方:

.
.
JAVA Memory arguments: -Xms2048m -Xmx4096m -XX:MaxPermSize=512m
.
WLS Start Mode=Production
.
CLASSPATH=/app/sinova/Oracle/patch_wls1033/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/app/sinova/Oracle/patch_ocp353/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/app/sinova/jdk1.7.0_79/lib/tools.jar:/app/sinova/Oracle/wlserver_10.3/server/lib/weblogic_sp.jar:/app/sinova/Oracle/wlserver_10.3/server/lib/weblogic.jar:/app/sinova/Oracle/modules/features/weblogic.server.modules_10.3.3.0.jar:/app/sinova/Oracle/wlserver_10.3/server/lib/webservices.jar:/app/sinova/Oracle/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/app/sinova/Oracle/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/app/sinova/Oracle/wlserver_10.3/common/derby/lib/derbyclient.jar:/app/sinova/Oracle/wlserver_10.3/server/lib/xqrl.jar
.
PATH=/app/sinova/Oracle/wlserver_10.3/server/bin:/app/sinova/Oracle/modules/org.apache.ant_1.7.1/bin:/app/sinova/jdk1.7.0_79/jre/bin:/app/sinova/jdk1.7.0_79/bin:/app/sinova/jdk1.7.0_79/bin:/usr/lib64/qt-3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/app/sinova/bin
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
starting weblogic with Java version:
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
Starting WLS with line:
/app/sinova/jdk1.7.0_79/bin/java -server   -Xms2048m -Xmx4096m -XX:MaxPermSize=512m -Dweblogic.Name=Server-30 -Djava.security.policy=/app/sinova/Oracle/wlserver_10.3/server/lib/weblogic.policy  -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/app/sinova/Oracle/wlserver_10.3/server/lib/cacerts -DUseSunHttpHandler=true  -da -Dplatform.home=/app/sinova/Oracle/wlserver_10.3 -Dwls.home=/app/sinova/Oracle/wlserver_10.3/server -Dweblogic.home=/app/sinova/Oracle/wlserver_10.3/server   -Dweblogic.management.discover=false -Dweblogic.management.server=http://10.70.52.11:7001/  -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/app/sinova/Oracle/patch_wls1033/profiles/default/sysext_manifest_classpath:/app/sinova/Oracle/patch_ocp353/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic010  weblogic.Server
<Jul 2, 2015 2:58:18 PM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 24.79-b02 from Oracle Corporation> 
<Jul 2, 2015 2:58:18 PM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0  Fri Apr 9 00:05:28 PDT 2010 1321401 > 
<Jul 2, 2015 2:58:19 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
<Jul 2, 2015 2:58:19 PM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> 
<Jul 2, 2015 2:58:20 PM CST> <Notice> <Log Management> <BEA-170019> <The server log file /app/sinova/domains/base_domain/servers/Server-30/logs/Server-30.log is opened. All server side log events will be written to this file.> 

解决办法:

修改Weblogic对应JAVA_HOME下的jre/lib/security/java.security文件
[plain] view plaincopy
securerandom.source=file:/dev/./urandom

参考文章:
http://blog.csdn.net/ygj26/article/details/10328659

解决weblogic Managed Server启动非常慢的情况

标签:

原文地址:http://www.cnblogs.com/Eivll0m/p/4647727.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!