Threshold alarms in PM are not being sent to Spectrum after upgrade
search cancel

Threshold alarms in PM are not being sent to Spectrum after upgrade

book

Article ID: 390461

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

Threshold events are not making it to Spectrum, after upgrade from 24.3.2 to 24.3.6 or 24.3.9

Error in Tomcat Catalina.out:

2025-03-10 00:09:16,477 [PoolThread-11307: GlobalPool => NPCEventManagerWebserviceURLPoller] WARN  com.aprisma.errorlog - ThreadPool: exception thrown from ThreadTask: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.ws.api.SOAPVersion

Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.Error: javax.xml.soap.SOAPException: Unable to create SAAJ meta-factory: class com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl cannot be cast to class javax.xml.soap.SAAJMetaFactory (com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @368e8324; javax.xml.soap.SAAJMetaFactory is in unnamed module of loader java.net.URLClassLoader @490caf5f) [in thread "main"]

Environment

NetOps 24.3.6, 24.3.9

Cause

 The ca-nim-sm webapps folder (used for service desk integrations) was not updated after the install from the new war file. This folder contained
  an older saaj-impl jar file which was being loaded and is not compatible with the other jar files which were updated from the install.

 

tomcat/webapps/ca-nim-sm/WEB-INF/lib:
-rw-r--r--. 1 spectrum spectrum  290520 Feb 10  2016 saaj-impl-1.3.4.jar


tomcat/lib:
-rw-r-----.  1 spectrum spectrum   456968 Mar 10 14:29 saaj-impl-1.5.3.jar

Resolution

- stop tomcat

- Move the ca-nim-sm folder OUTSIDE the $SPECROOT install area

- start tomcat

At this point tomcat extracts the ca-nim-sm.war file (which was updated) and creates an updated ca-nim-sm directory with the updated jar files. After this OneClick started to synchronize Threshold Alarms from PM and were visible in the OneClick console.