Failure during the upgrade from 10.4.1 to 22.2.x in tomct.cus script
search cancel

Failure during the upgrade from 10.4.1 to 22.2.x in tomct.cus script


Article ID: 260262


Updated On:


CA Spectrum DX NetOps


The upgrade from Spectrum 10.4.1 to 22.2.4 in the Linux platform failed.

SPC-INT-20030: Installation failed

SPC-INT-20065: The installation of DX NetOps Spectrum is finished, but some errors occurred during the install. Please see the installation log for details.

In the postinst log file:

********** Started: Thu Dec 22 15:57:08 2022 **********
running Custom Script Install-Tools/CUS/tomct.cus
 Starting tomct.cus
Tomcat upgrades from: 03/25/2022 23:24
repmgr folder does not exist but spm-oc does exist, so copying the struts.xml file from withoutSRM folder.
main location server: server01
java path: /smile/Spectrum/Java/bin/java
tomcat directory: /usr/Spectrum/tomcat
oc port: 8080
tomcat memory setting: JAVA_OPTS="-DOneClick -server -Xmx4096M -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true$SPECROOT/custom/keystore/cacerts -Dfile.encoding=UTF-8 -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true"
previous OneClick: /smile/Spectrum
Updating log4j configuration
Checking for backup file
RECYCLE_FACADES not enabled for tomcat
STRICT_SERVLET_COMPLIANCE not enabled for tomcat
Starting ServerConfigurationCreator
com.aprisma.tomcat.install.TomcatConfigException: JAXBException occurred while updating SAML config files.
 - with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 33; The value of attribute "file" associated with an element type "keyStore" must not contain the '<' character.]
    at com.aprisma.tomcat.install.ServerConfigurationCreator.updateSAMLConfigs(
    at com.aprisma.tomcat.install.ServerConfigurationCreator.doCreateConfiguration(
    at com.aprisma.tomcat.install.ServerConfigurationCreator.createConfiguration(
    at com.aprisma.tomcat.install.ServerConfigurationCreator.main(

** ERROR during creating tomcat configurations

Script Install-Tools/CUS/tomct.cus has FAILED
********** Completed: Thu Dec 22 15:57:10 2022 **********


Release : 22.2


The installer found some improperly formatted words in the $SPECROOT/tomcat/conf/fediz_config.xml file.


To avoid this failure, edit the $SPECROOT/tomcat/conf/fediz_config.xml file and change the following (Only on the OneClick server) prior to the upgrade:

From: "<SPECROOT>/