IBM Support

IBM Identity Insight Visualizer launch fails with message "WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5."

Troubleshooting


Problem

The IBM Identity Insight Visualizer is not launching. When looking at the error output, it displays: WARNING: Could not create windows registry node Software\JavaSoft\Prefs\com at root 0x80000001. Windows RegCreateKeyEx(...) returned error code 5. java.util.prefs.WindowsPreferences WindowsRegOpenKey1 WARNING: Trying to recreate Windows registry node Software\JavaSoft\Prefs\com at root 0x80000001. java.util.prefs.WindowsPreferences openKey WARNING: Could not open windows registry node Software\JavaSoft\Prefs\com at root 0x80000001. Windows RegOpenKey(...) returned error code 2.

Cause

The Java Runtime Environment (JRE) path bit width specified for the Visualizer in the security.xml file was specified as 32 bit but the Operating System is 64 bit.

Resolving The Problem

Modify the security.xml file to point to the 64bit JRE.

1. Modify the security.xml file (located in $INSTALLDIR/ewas/pro/config/cells/DefaultCell:
(make a copy of the security.xml before modifying)

Search for the following line (look for the “jdbcLibPath” string):
<options xmi:id="Property_1267653943709" name="jdbcLibPath" value="/opt/IBM/db2/V9.7/lib" required="false"/>

and change the directory path from “lib” to “lib64” (in bold below):
<options xmi:id="Property_1267653943709" name="jdbcLibPath" value="/opt/IBM/db2/V9.7/lib64" required="false"/>

Notice the only change was adding the '64' to the 'lib' directory.

Save the changes and restart the Visualizer. The 64 bit JRE should be picked up now.

[{"Product":{"code":"SS2HSB","label":"InfoSphere Identity Insight"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0;8.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21614228