Fail to trust the Node manager after upgrade

Fail to trust the Node manager after upgrade

book

Article ID: KB0076822

calendar_today

Updated On:

Products Versions
Spotfire Server 7.10 and higher

Description

Fail to Trust the Node after upgrade to 10.3 and higher.
Below error returned in the <Spotfire Server Install>\tomcat\logs\server.log

=========================
ERROR 2019-09-23T06:47:35,697-0700 [] server.jsp.error: An exception occurred (ID: baceb702-62c2-422a-9cc4-7d6a6880b9eb)
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1054) ~[spring-webmvc.jar:5.1.7.RELEASE]
:
:
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder
    at org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.<init>(Unknown Source) ~[bcpkix-jdk15on.jar:1.61.0.0]
=========================
 

Issue/Introduction

Fail to trust the Node Manager after upgrade

Resolution

The above error is returned if during the upgrade process the <Spotfire Server Install>\tomcat\conf\\server.xml file is copied from the previous version to the new version.

To fix the error add the below to the   <Spotfire Server Install>\tomcat\conf\\server.xml file
==========
<Listener className="com.spotfire.server.security.trust.tomcat.BCLoaderListener" />
==========

e.g
==========
<?xml version="1.0" encoding="UTF-8"?>

<Server port="9005" shutdown="SHUTDOWN">

  <Listener className="com.spotfire.server.security.trust.tomcat.BCLoaderListener" />

  <Service name="Spotfire">

    <Connector port="80"
==========