weblogic启动慢处理办法
时间:2021-03-30 16:42:34
收藏:0
阅读:20
周末在迁移某IM系统过程中,发现weblogic启动很慢,需等待超五分钟。
1.原因
实际是JVM在Linux下的bug:他想调用一个随机函数,但是取不到。
2.处理办法
修改Linux上Weblogic使用的jdk $JAVA_HOME/jre/lib/security/java.security 文件
将securerandom.source=file:/dev/urandom 修改为 securerandom.source=file:/dev/./urandom
- cd $JAVA_HOME/jre/lib/security/
- vim java.security 将securerandom.source=file:/dev/urandom 修改为 securerandom.source=file:/dev/./urandom
原文:https://www.cnblogs.com/lichengmin/p/14596432.html
评论(0)