CABI probe unable to start in UIM 9.2

book

Article ID: 144238

calendar_today

Updated On:

Products

DX Infrastructure Management

Issue/Introduction

cabi.log shows:
[main, cabi] java.util.concurrent.TimeoutException: cabi webapp at 'https://CabiRobotHostName.aac.dva.va.gov/cabijs' failed to start in 10 minutes

wasp.log shows:
ERROR [Catalina-utility-1, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[/cabijs]] listenerStart() Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
 ERROR [Catalina-utility-1, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[/cabijs]] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'themeSource' defined in ServletContext resource [/WEB-INF/applicationContext-themes.xml]: Cannot resolve reference to bean 'themeCache' while setting bean property 'themeCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'themeCache' ...
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateRepositoryService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'proHibernateRepositoryListeners' while setting bean property 'repositoryListeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proHibernateRepositoryListeners'...
...
ERROR [Catalina-utility-1, org.apache.catalina.core.StandardContext] startInternal() One or more listeners failed to start. Full details will be found in the appropriate container log file
ERROR [Catalina-utility-1, org.apache.catalina.core.StandardContext] startInternal() Context [/cabijs] startup failed due to previous errors
WARN  [Catalina-utility-1, org.apache.catalina.loader.WebappClassLoaderBase] The web application [cabijs] registered the JDBC driver [tibcosoftware.jdbc.sqlserver.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

Cause

It was found that the account used to install cabi had a special character in the password.  This prevented a successful installation of cabi. 

When it appears the install is complete, wait 20 minutes and watch the CABI log file.

There are two messages that must appear to signal that the CABI install is complete:

First – a line that says “cabi installed successfully”
Second – a line that says  “Finished synchronizing users between UIM and CABI”

 

Environment

- wasp CABI robot - 9.20
- OS of CABI robot - Windows Server 2012 R2
- Backend database version - MS SQL 2016
- OS of database server - Windows Server 2012 R2
- Robot version of CABI, UMP, and primary hub servers - 9.20S

Resolution

Uninstall and reinstall CABI using an account without special characters in the password.  You may follow these steps to complete this.

1. Uninstall the cabi wasp probe:
If cabi is installed on a separate robot:
- delete wasp probe from IM or Admin Console
- delete directory C:\Program Files (x86)\Nimsoft\probes\service\wasp (on the cabi robot)

If cabi is installed along on the UMP or UIM server:
- delete the cabijs app in wasp probe through probe utility.

2. cabi probe:
deactivate the cabi probe from IM or Admin Console (do not delete it)
login to your database server and copy and execute commands specified at the following path:
- \Nimsoft\probes\service\cabi\config\scripts\drop_tables\1.2\sqlserver (assuming sql server db)

Make sure that all script commands are run successfully.
Delete the cabi probe from IM or Admin Console

3. cabi robot:
delete directory: C:\Program Files (x86)\Nimsoft\probes\service\cabi
delete C:\Program Files (x86)\Nimsoft\c

4. Re-install cabi probe:
Drag and drop cabi and the following packages (latest versions) to the Robot:

- uim_core_dashboards_pack
- uim_cabi_health_report_pack
- uim_unified_reporter_pack
 
Ensure the ump_cabi package is deployed to the ump wasp robot.