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.
Spectrum 24.3.x
Conflict with environment-modules.x86_64 package
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
If the above solution is not workable in your environment please log a support ticket for follow up.