After upgrade to UIM 20.3.x alarms show "Error retrieve alarms" and Groups not visible

book

Article ID: 222067

calendar_today

Updated On:

Products

DX Infrastructure Management

Issue/Introduction

We've just updated our environment from 20.3 to 20.3.3 and we have some issues:

 

- Alarms disappears from the screen in a few seconds, counter reset to 0 and "Error retrieve alarms" error appears. 

- Groups are not present in "Groups" section but they're correctly shown in Home.

 

Cause

This issue may be related to an issue with "Policy Management" where "Queue building up on primary hub for Policy Management"

 

The following errors may be seen in the policy_management.log (OC Wasp folder):

 

policy_management.log:

Jun 10 17:52:45:745 ERROR [Catalina-utility-1, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[/policy_management_ws]] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mcsEventListener': Unsatisfied dependency expressed through field 'mcsEventService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mcsEventService': Unsatisfied dependency expressed through field 'policyService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'policyService': Unsatisfied dependency expressed through field 'policyRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyRepository': Cannot create inner bean '(inner bean)#64b2175d' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#64b2175d': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [com/ca/uim/policy/management/config/DatabaseConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.persistence.EntityManagerFactory]: Factory method 'entityManagerFactory' threw exception; nested exception is java.lang.NoSuchMethodError: org.hibernate.engine.spi.SessionFactoryImplementor.getProperties()Ljava/util/Properties;

 

Environment

Release : 20.3

Component : UIM OPERATOR CONSOLE - ALARM VIEWER / UIM - POLICY_MANAGEMENT_WS

Resolution

If the errors mentioned in the "Cause" Section in the KB are seen, apply the following steps:


1. Download the hibernate-core-5.0.12.Final.jar attached to this KB. 

2. Copy this file to the following directory on the UMP server

..\Nimsoft\probes\service\wasp\webapps\policy_management_ws\WEB-INF\lib

 

3. rename the following file in the same directory:

hibernate-core-5.2.7.Final.jar to hibernate-core-5.2.7.Final.jar.save

4. deactivate/activate wasp on the OC server

Additional Information

Related KB:
UIM - After upgrade to 20.3.x SLM Groups, Accounts, and SLA's are not visible (broadcom.com)

Attachments

1629360037751__hibernate-core-5.0.12.Final_1601564413122.zip get_app