zoukankan      html  css  js  c++  java
  • 解决weblogic Managed Server启动非常慢的情况

    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文件
    securerandom.source=file:/dev/./urandom

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

  • 相关阅读:
    mysql常用基本命令
    mysql8.0.13下载与安装图文教程
    k8s ingress 增加跨域配置
    Jenkins 备份恢复插件 thinBackup 使用
    k8s HA master 节点宕机修复
    nginx 跨域问题解决
    mongodb 3.4.24 主从复制
    k8s 线上安装 jenkins并结合 jenkinsfile 实现 helm 自动化部署
    k8s helm 运用与自建helm仓库chartmuseum
    centos6 源码安装 unzip
  • 原文地址:https://www.cnblogs.com/Eivll0m/p/4647727.html
Copyright © 2011-2022 走看看