In Oracle Weblogic, sometimes our services open slower than expected, even if it is opened, the “7001/console” screen makes us wait.
I did a little research on some servers not having these waits on some servers.
Example log as below
1 2 | <Info> <IIOP> <xapp30> < xapp-1-7003> <[ACTIVE] ExecuteThread: ‘0’ for queue: ‘weblogic.kernel.Default (self-tuning)’> |
1 | <<WLS Kernel>> <> <> <5721179149433> <BEA-002014> <IIOP subsystem enabled.> |
This number generation is done with the ” /dev/random ” command. If you want to test it yourself, you can check the turnaround time on your own server by using the “head –n 1 /dev/random” command.
Like me, if your wait times are longer than necessary, we will shorten them with ” dev/urandom ”.
First of all, we enter the java.security file with the VI editor.
1 | $JAVA_HOME/jre/lib/security/java.security |
Find and replace this line.
1 | “securerandom.source=file:/dev/random” |
In its place
1 | “securerandom.source=file:/dev/./urandom” |
You will see the difference when you turn off all services and turn them back on.