After upgrading Spectrum OneClick to 22.2.1, the following error is displayed in the $SPECROOT/tomcat/logs/catalina.out file:
ERROR Unable to create Lookup for log4j java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.Log4jLookup
Release : 22.2
Component : SPECTRUM INSTALLATION
It seems the JndiLookup.class was removed from the $SPECROOT/tomcat/webapps/ca-nim-sm/WEB-INF/lib/log4j-core-*.jar file by mistake when performing the steps outlined in the following KB article:
https://knowledge.broadcom.com/external/article?articleId=230231
As there is no Service Desk integration enabled, removed the $SPECROOT/tomcat/webapps/ca-nim-sm/ directory and bounce the Tomcat service. The ca-nim-sm.war file be re-deployed by the Tomcat restart and the new ca-nim-sm directory will be created.
Do not rename the $SPECROOT/tomcat/webapps/ca-nim-sm/ directory. You must stop the Spectrum Tomcat service and then delete the ca-nim-sm directory.