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

book

Article ID: 260262

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

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: 10.4.1.0.215 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 -Djavax.net.ssl.trustStore=$SPECROOT/custom/keystore/cacerts -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true"
#JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask`"
previous OneClick: /smile/Spectrum
Updating log4j configuration
Checking for backup catalina.properties 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.
javax.xml.bind.UnmarshalException
 - 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(ServerConfigurationCreator.java:350)
    at com.aprisma.tomcat.install.ServerConfigurationCreator.doCreateConfiguration(ServerConfigurationCreator.java:246)
    at com.aprisma.tomcat.install.ServerConfigurationCreator.createConfiguration(ServerConfigurationCreator.java:133)
    at com.aprisma.tomcat.install.ServerConfigurationCreator.main(ServerConfigurationCreator.java:109)

** ERROR during creating tomcat configurations

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

Environment

Release : 22.2

Cause

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

Resolution

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>/

To: "$SPECROOT/

Attachments