Spectrum Tomcat Kafka Initialization routine failure
search cancel

Spectrum Tomcat Kafka Initialization routine failure

book

Article ID: 408647

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

Spectrum Tomcat Kafka Initialization routine failure

SPECROOT/tomcat/logs

INFO  com.ca.im.netqos.integration.kafka.KafkaManager - Spectrum Main Location Server (MLS) is up, starting Kafka initialization.

2025-08-25 13:51:12,357 [Kafka-startup] ERROR org.springframework.boot.SpringApplication - Application run failed
java.lang.IllegalArgumentException: Could not resolve placeholder 'MODULES_REDIRECT_OUTPUT+x' in value "() {  local _mlredir=1;
 if [ -n "${MODULES_REDIRECT_OUTPUT+x}" ]; then
 if [ "$MODULES_REDIRECT_OUTPUT" = '0' ]; then
 _mlredir=0;
 else
 if [ "$MODULES_REDIRECT_OUTPUT" = '1' ]; then
 _mlredir=1;
 fi;
 fi;
 fi;
 case " $@ " in 
 ' --no-redirect ')
 _mlredir=0
 ;;
 ' --redirect ')
 _mlredir=1
 ;;
 esac;
 if [ $_mlredir -eq 0 ]; then
 _module_raw "$@";
 else
 _module_raw "$@" 2>&1;
 fi
}"
    at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:180) ~[spring-core-5.3.42.jar:5.3.42]
    at org.

 

 

Environment

Spectrum 24.3.x

Cause

Conflict with environment-modules.x86_64 package

Resolution

Steps to disable package

sudo mv /etc/profile.d/modules.sh /etc/profile.d/modules.sh.disabled
echo "unset -f module" | sudo tee /etc/profile.d/disable-module.sh

Additional Information

If the above solution is not workable in your environment please log a support ticket for follow up.