The customer downloaded a version 9.4 CR3 of the policy Manager for Linux and the policy manager is hanging.
We tried to use version 9.4 cr0 and with everything works correctly, using the jre
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (AdoptOpenJDK) (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (AdoptOpenJDK) (build 25.232-b09, mixed mode)
OS: Ubuntu 19.04
- If you start the manager.sh from one of the other 9.4 versions does it still work?
Policy Manager 9.4 cr00 - OK
Policy Manager 9.4 cr02 - KO
Policy Manager 9.4 cr03 - KO
Release : 9.4
Component : API GATEWAY
This issue is related to a crypto comply library upgrade which happened post 9.4 GA.
The problem is when policy manager is trying to read a gif icon file from disk, it is trying to create a temp file with a random name. To generate the random data it refers our secure random crypto provider HMacSP800DRBGWrapper-2.2.1.jar.
The following steps should now resolve this problem as the problem is related to a 3rd party libraries.
Please update the jre in the following location in where you are running the policy manager.
1. cd Manager-9.4.00.9618-CR02//jre/lib/security
2. vi java.security
3. go to this line to be changed ->securerandom.source=file:/dev/random
4. Replace the above line with ->securerandom.source=file:/dev/./urandom
Then try running the policy manager (Manager.sh) again.