Unable to access CABI after Windows OS upgrade to CABI server
search cancel

Unable to access CABI after Windows OS upgrade to CABI server

book

Article ID: 218417

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

The wasp probe will fail with max restarts:

May 01 00:22:48:964 ERROR [Catalina-utility-1, org.apache.catalina.core.ContainerBase] java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[wasp-engine].StandardHost[localhost].StandardContext[/cabijs]]
...
Caused by: org.apache.commons.configuration2.ex.ConfigurationException: Could not locate: FileLocator [basePath=C:\Windows\system32\config\systemprofile, encoding=ISO-8859-1, fileName=.jrsksp

(Found in the wasp.log on the server where cabi probe is installed)

Error in Operator Console:

Environment

Release: 20.4, 23.4
Component: cabi

Cause

The upgrade removed the keystore file from the following directory:

C:\Windows\System32\config\systemprofile

(missing files)

.jrsks
.jsksp

Resolution

This will require a rebuild of the keystore files:

1. login to the cabi server
2. stop the Nimsoft Robot Watcher service
3. backup the C:\Program Files (x86)\Nimsoft\c\buildomatic\build_conf\default\master.properties file
4. copy the C:\Program Files (x86)\Nimsoft\c\buildomatic\build_conf\default\master.properties file to C:\Program Files (x86)\Nimsoft\c\buildomatic\default_master.properties
5. edit C:\Program Files (x86)\Nimsoft\c\buildomatic\default_master.properties and update the following sections in the document:

# database location and connection settings

dbHost=<IP or Hostname>
dbUsername=sa
dbPassword=<place the clear text password here to login to the database server>

...

dbPort=1433

js.dbName=CA_UIM

webAppNamePro=cabijs
encrypt=true

6. save the file
7. open a command window (as an administrative user) to C:\Program Files (x86)\Nimsoft\c\buildomatic
8. run the following:

set JAVA_HOME="C:\PROGRA~2\nimsoft\c\java\bin"
PATH=%JAVA_HOME%;%PATH%
js-ant gen-config

NOTE: The command will fail if the path is set with long name. The path to the bin directory must be set to the 32bit path.

After you have run this command it will put:

.jrsks
.jsksp

in C:\Windows\System32\config\systemprofile

9. open C:\Program Files (x86)\Nimsoft\c\buildomatic\build_conf\default\master.properties which should have been updated with the encryption string after 'dbPassword='.
10. make a backup of C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\cabijs\META-INF\context.xml
11. update C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\cabijs\META-INF\context.xml changing the encryption section for each 'password=' with the new value that is listed in C:\Program Files (x86)\Nimsoft\c\buildomatic\build_conf\default\master.properties
12. save C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\cabijs\META-INF\context.xml 
13. start the Nimsoft Robot Watcher service