Wednesday, August 20, 2014

SOA_SERVER ( Managed Server ) Take too Long time to Start/Restart

On the weblogic console when trying to start managed Server it's take too long time to start in my case it's SOA_SERVER, almost 25 min only to start, which is not correct . to avoid this problem you need to follow the below steps simple but effective :-

Under Java Home ( That Used by Weblogic ) :-

cd /u01/app/fmw/jdk/jre/lib/security 

There's file called Java.Security 

Edit this File using any Editor ( vi for example ).

Search for the following line :-

securerandom.source=file:/dev/urandom

And Change it to :-

securerandom.source=file:/dev/./urandom
Or Another way add the below line to startup script in weblogic :-

-Djava.security.egd=file:/dev/./urandom

Hope this will solve your problem.


Thank you
Osama Mustafa

1 comment:

  1. Mustafa,
    I am new to linux and don't know much, but by looking at above post I am a bit confused
    Whether we are reading from file /dev/urandom or file /dev/./urandom, we end-up reading from same file, then how it will improve the start-up time?

    ReplyDelete