KB Article #181891

The application spends a lot of time initializing security due to a lesser entropy level on the machine.

Problem

--When trying to start the B2Bi Control node the following error could appear on linux environment:

--FATAL/WARN [SSLCipherInitializerStarter initialization] (InitializationTimer) - The application does not start in a timely manner because the application spends a lot of time initializing security due to a lesser entropy level on the machine.


Resolution

*The Problem is on Linux with Java when using by default /dev/random for random number generation, /dev/random will block B2Bi Control Node from proceeding until enough entropy data is collected to generate the random data needed for the FIPS compliance.

*Although /dev/random is more secure, it’s recommended to use /dev/urandom

*Please use these steps to avoid JVM delays caused by random number generation

*How to configure B2Bi JVM to use /dev/urandom

*1- Edit the [installDir]/Interchange/conf/jvmarguments.xml

*2- Add under the section

<NodeType> <!-- Common to all nodes --> the line:

<Property key="java.security.egd">file:/dev/urandom</Property>

*3- Save and restart B2Bi