在weblogic 10.3.5或是weblogic12c(其他的版本没有试验过)上建域或是启动,好像卡死了一样,非常之慢。需要修改jdk的一个配置:
/opt/jdk1.6/jdk1.6.0_45/jre/lib/security
vi java.security
把securerandom.source=file:/dev/urandom修改为securerandom.source=file:/dev/./urandom
WebLogic Managed Server Starting In MSI Mode When Administration Port Is Enabled (文档 ID 1057446.1)
In this Document
Symptoms
Cause
Solution
APPLIES TO:
Oracle Weblogic Server - Version 9.2 to 10.3.3
Red Hat Enterprise Linux Advanced Server x86-64 (AMD Opteron Architecture)
Red Hat Enterprise Linux Advanced Server Itanium
SYMPTOMS
Issue was found where managed server is starting in MSI (Managed Server Independence) mode in Linux environment when the domain-wide administration port was enabled with Admin server running.
When the domain-wide administration port was disabled, managed server startup had no issues. It started up in normal mode.
CAUSE
This is RHEL OS level problem because of randomly generated numbers for process. There are no exceptions or error messages in logs at the time of the issue. Below is log snippet of managed server starting in MSI mode when administration port is enabled.
####<Jan 28, 2010 6:38:37 PM UTC> <Info> <Configuration Management> <sikapp-dt-a1d> <> <Main Thread> <> <> <> <1264703917656> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
####<Jan 28, 2010 6:38:37 PM UTC> <Notice> <WebLogicServer> <sikapp-dt-a1d> <> <Main Thread> <> <> <> <1264703917736> <BEA-000365> <Server state changed to STARTING>
####<Jan 28, 2010 6:38:37 PM UTC> <Info> <WorkManager> <sikapp-dt-a1d> <> <Main Thread> <> <> <> <1264703917746> <BEA-002900> <Initializing self-tuning thread pool>
####<Jan 28, 2010 6:38:37 PM UTC> <Info> <WebLogicServer> <sikapp-dt-a1d> <> <Main Thread> <> <> <> <1264703917863> <BEA-000214> <WebLogic Server "sik-dt-111" version:
SOLUTION
Add-Djava.security.egd=file:/dev/./urandomstartup argument to WebLogic startup scripts. The process uses pseudo-random numbers instead of genuine random numbers.