Spectrum VNA Integration not populating devices after upgrading to 23.3.7 (java.lang.NoSuchMethodError)
search cancel

Spectrum VNA Integration not populating devices after upgrading to 23.3.7 (java.lang.NoSuchMethodError)

book

Article ID: 366771

calendar_today

Updated On:

Products

DX NetOps CA Spectrum

Issue/Introduction

SPECROOT/tomcat/logs catalina.out\stdout.log shows the following:

2024-04-26 14:23:05,235 [VNAConnectionManager jobQueue] WARN com.aprisma.errorlog - VNAConnectionManager jobQueue: Error invoking job (com.ca.spectrum.app.sdn.integration.manager.VNAConnectionManager$VNAConnectJob@57d23bb1) : java.lang.NoSuchMethodError: 'jakarta.websocket.Session org.glassfish.tyrus.client.ClientManager.connectToServer(jakarta.websocket.Endpoint, jakarta.websocket.ClientEndpointConfig, java.net.URI)'
at com.ca.em.sdn.gateway.broker.common.client.SDNClientBase.createSession(SDNClientBase.java:309)
at com.ca.em.sdn.gateway.broker.common.client.SDNClientBase.connectToWebSocket(SDNClientBase.java:316)
at com.ca.em.sdn.gateway.broker.common.client.SDNClientBase.start(SDNClientBase.java:141)
at com.ca.spectrum.app.sdn.integration.manager.VNAConnectionManager$VNAConnectJob.run(VNAConnectionManager.java:546)
at com.aprisma.util.thread.JobQueue.runJobThread(JobQueue.java:221)
at com.aprisma.util.thread.JobQueue$JobRunnable.run(JobQueue.java:24)
at java.base/java.lang.Thread.run(Thread.java:829)

Cause

  • Duplicate Jar file

Resolution

  • Check SPECROOT/Tomcat/lib folder for multiple instances of  tyrus-standalone-client*.jar
  • The correct version should be tyrus-standalone-client-2.1.3.jar
  • Remove tyrus-standalone-client-1.11.jar or any version older than 2.1.3
  • Restart Tomcat