Upgrade to 10.4.2 fails on the OneClick servers

book

Article ID: 206870

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Upgrade to 10.4.2 fails on the OneClick servers.

The following error was found in the postinstall log file:

********** Started: Thu Dec 10 15:03:45 2020 **********
running Custom Script Install-Tools/CUS/tomct.cus
 Starting tomct.cus
Tomcat upgrades from: 10.2.3.0.107 05/26/2018 00:50
repmgr folder does not exist but spm-oc does exist, so copying the struts.xml file from withoutSRM folder.
main location server: sbmdebgm01v
java path: D:/win32app/Spectrum/Java/bin/java
tomcat directory: D:/win32app/Spectrum/tomcat
oc port: 80
tomcat memory setting: 
previous OneClick: D:/win32app/Spectrum
Updating log4j configuration
Starting ServerConfigurationCreator
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Starting ConfigureTomcat
org.jdom.input.JDOMParseException: Error on line 1 of document file:/D:/win32app/Spectrum/custom/common/config/tomcat-server-config.xml: Premature end of file.
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:501)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:847)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:826)
 at com.aprisma.util.xml.CustomXmlConfig.getDocument(CustomXmlConfig.java:163)
 at com.aprisma.util.xml.CustomXmlConfig.<init>(CustomXmlConfig.java:62)
 at com.aprisma.tomcat.install.AbstractTomcatConfig.<init>(AbstractTomcatConfig.java:80)
 at com.aprisma.tomcat.install.TomcatConfigWin.<init>(TomcatConfigWin.java:177)
 at com.aprisma.tomcat.install.TomcatConfigHelper.<init>(TomcatConfigHelper.java:73)
 at com.aprisma.tomcat.install.ConfigureTomcat.<init>(ConfigureTomcat.java:25)
 at com.aprisma.tomcat.install.ConfigureTomcat.main(ConfigureTomcat.java:87)
Caused by: org.xml.sax.SAXParseException; systemId: file:/D:/win32app/Spectrum/custom/common/config/tomcat-server-config.xml; lineNumber: 1; columnNumber: 1; Premature end of file.
 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
 at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1014)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
 at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
 ... 9 more
Caused by: org.xml.sax.SAXParseException; systemId: file:/D:/win32app/Spectrum/custom/common/config/tomcat-server-config.xml; lineNumber: 1; columnNumber: 1; Premature end of file.
 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
 at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1014)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
 at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:847)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:826)
 at com.aprisma.util.xml.CustomXmlConfig.getDocument(CustomXmlConfig.java:163)
 at com.aprisma.util.xml.CustomXmlConfig.<init>(CustomXmlConfig.java:62)
 at com.aprisma.tomcat.install.AbstractTomcatConfig.<init>(AbstractTomcatConfig.java:80)
 at com.aprisma.tomcat.install.TomcatConfigWin.<init>(TomcatConfigWin.java:177)
 at com.aprisma.tomcat.install.TomcatConfigHelper.<init>(TomcatConfigHelper.java:73)
 at com.aprisma.tomcat.install.ConfigureTomcat.<init>(ConfigureTomcat.java:25)
 at com.aprisma.tomcat.install.ConfigureTomcat.main(ConfigureTomcat.java:87)
Caused by: org.xml.sax.SAXParseException; systemId: file:/D:/win32app/Spectrum/custom/common/config/tomcat-server-config.xml; lineNumber: 1; columnNumber: 1; Premature end of file.
 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
 at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1014)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
 at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:847)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:826)
 at com.aprisma.util.xml.CustomXmlConfig.getDocument(CustomXmlConfig.java:163)
 at com.aprisma.util.xml.CustomXmlConfig.<init>(CustomXmlConfig.java:62)
 at com.aprisma.tomcat.install.AbstractTomcatConfig.<init>(AbstractTomcatConfig.java:80)
 at com.aprisma.tomcat.install.TomcatConfigWin.<init>(TomcatConfigWin.java:177)
 at com.aprisma.tomcat.install.TomcatConfigHelper.<init>(TomcatConfigHelper.java:73)
 at com.aprisma.tomcat.install.ConfigureTomcat.<init>(ConfigureTomcat.java:25)
 at com.aprisma.tomcat.install.ConfigureTomcat.main(ConfigureTomcat.java:87)
Exception in thread "main" java.lang.NullPointerException
 at com.aprisma.tomcat.install.TomcatConfigWin.writeConfigFile(TomcatConfigWin.java:229)
 at com.aprisma.tomcat.install.TomcatConfigWin.install(TomcatConfigWin.java:301)
 at com.aprisma.tomcat.install.TomcatConfigHelper.install(TomcatConfigHelper.java:98)
 at com.aprisma.tomcat.install.ConfigureTomcat.<init>(ConfigureTomcat.java:66)
 at com.aprisma.tomcat.install.ConfigureTomcat.main(ConfigureTomcat.java:87)

** ERROR during configuring the tomcat launcher

Script Install-Tools/CUS/tomct.cus has FAILED
********** Completed: Thu Dec 10 15:04:43 2020 **********

 

*********CUSTOM SCRIPT SUMMARY**********
Script Install-Tools/CUS/tomct.cus has failed

Errors occurred during the execution of
the custom scripts noted above. Please
refer to the appropriate install.log
file for specific information on the
error. These errors must be resolved
before installing any Service Packs or
hot fixes.

****************************************

** Error during running of custom scripts

 

Cause

Invalid entry in the D:/win32app/Spectrum/custom/common/config/tomcat-server-config.xml file.

Actually, the file size is 0 bytes.

Environment

Release : 20.2

Component : Spectrum OneClick

Resolution

Removed the D:/win32app/Spectrum/custom/common/config/tomcat-server-config.xml file