2.10 Choosing a non blocking PRNG

OBAPI uses Java’s random number generation capabilities internally. However the out of the box algorithm for PRNG configured in the JDK can block the thread after a certain time if there isn’t enough randomness available. This is because the default configuration uses /dev/random on Linux for PRNG.

Therefore we recommend that you navigate to <JDK_HOME>/jre/lib/security and edit the java.security file. Comment out the old property and change its value as shown below:



This will ensure that the application uses /dev/urandom for PRNG.

Needless to say, make sure you make this change in the JDK that your WebLogic server is going to be using.