1). Unable to launch FrontEnd, webapps fails to start. Below SEVERE logs seen in catalina log file:
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
SEVERE: Context [/device-discovery] startup failed due to previous errors
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
SEVERE: Context [/centralized-management] startup failed due to previous errors
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
SEVERE: Context [/alerting-frontend] startup failed due to previous errors
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
SEVERE: Context [/APG] startup failed due to previous errors
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
SEVERE: Context [/device-discovery] startup failed due to previous errors
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
SEVERE: Context [/centralized-management] startup failed due to previous errors
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
SEVERE: Context [/alerting-frontend] startup failed due to previous errors
2). Also, in localhost log file below exception w.r.t. jackson is seen:
SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.watch4net.apg.gui.servlet.ApplicationContextListener]
java.lang.IllegalStateException: An error occurred notifying listeners !
.
.
.
.
Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonParser.getReadCapabilities()Lcom/fasterxml/jackson/core/util/JacksonFeatureSet;
at com.fasterxml.jackson.databind.DeserializationContext.<init>(DeserializationContext.java:212)
at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.<init>(DefaultDeserializationContext.java:50)
Watch4net|M&R - 7.7 and 7.8
It is seen that there are 2 jackson-core jar files of different versions mentioned below in /APG_HOME/Web-Servers/Tomcat/Default/webapps/<webapp>/WEB-INF/lib which is causing this issue:
jackson-core-2.13.5.jar
jackson-core-2.10.0.pr2.jar
1). Move jackson-core-2.10.0.pr2.jar from all the webapps lib folder /APG_HOME/Web-Servers/Tomcat/Default/webapps/<webapp>/WEB-INF/lib to a different location.
2). Restart tomcat sevice: manage-modules.sh service restart tomcat
Older versions of these libraries will be removed in a future release.