IBM Support

nci_jrexec fails after upgrade to FP27 or FP28

Troubleshooting


Problem

nci_jrexec fails to execute because of a missing Java method.

Symptom

The message displayed is:
Exception in thread "main" java.lang.NoSuchMethodError: org/apache/logging/log4j/util/PropertiesUtil.partitionOnCommonPrefixes(Ljava/util/Properties;Z)Ljava/util/Map; (loaded from file:/opt/IBM/tivoli/impact/lib3p/log4j-api-2.17.1.jar by sun.misc.Launcher$AppClassLoader@efcce9d7) called from class org.apache.logging.log4j.core.config.properties.PropertiesConfigurationBuilder (loaded from file:/opt/IBM/tivoli/impact/lib3p/log4j-core-2.17.2.jar by sun.misc.Launcher$AppClassLoader@efcce9d7). at org.apache.logging.log4j.core.config.properties.PropertiesConfigurationBuilder.build(PropertiesConfigurationBuilder.java:176) at org.apache.logging.log4j.core.config.properties.PropertiesConfigurationFactory.getConfiguration(PropertiesConfigurationFactory.java:56) at org.apache.logging.log4j.core.config.properties.PropertiesConfigurationFactory.getConfiguration(PropertiesConfigurationFactory.java:35) at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:304) at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:467) at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:325) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:690) at org.apache.logging.log4j.core.LoggerContext.setConfigLocation(LoggerContext.java:679) at com.micromuse.response.client.RemoteJRExecServerImpl.main(RemoteJRExecServerImpl.java:86)

Cause

FP25 upgraded log4j to version 2.17.1.
FP27 upgrades log4j to 2.17.2 but does not correctly remove 2.17.1 files.

Environment

This issue affects all FP27 or FP28 systems upgraded from FP25 and FP26.

Diagnosing The Problem

After upgrading to FP27 or FP28, navigate to the $IMPACT_HOME/lib3p directory and look for these files:
log4j-api-2.17.1.jar
log4j-core-2.17.1.jar
log4j-slf4j-impl-2.17.1.jar
log4j-api-2.17.2.jar
log4j-core-2.17.2.jar
log4j-slf4j-impl-2.17.2.jar
The upgrade installs a 2.17.2 version of the 2.17.1 log4j files.

Resolving The Problem

Navigate to the $IMPACT_HOME/lib3p directory and remove these version 2.17.1 log4j files:
log4j-api-2.17.1.jar
log4j-core-2.17.1.jar
log4j-slf4j-impl-2.17.1.jar

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2GF","label":"Netcool\/Impact - SSB2GF"},"ARM Category":[{"code":"a8m500000008Zv0AAE","label":"Impact-\u003EImpact Server-\u003EJRExec Server"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.0"}]

Document Information

Modified date:
22 December 2022

UID

ibm16851399