SAP Knowledge Base Article - Preview

3462327 - Deployment failing while upgrading to 2211.21 because of an error associated to Tomcat configuration.

Symptom

Deployment failing while upgrading to 2211.21 because of the error " Unable to load server configuration from [/opt/aspects/backoffice/tomcat/conf/server.xml]" 

level":"SEVERE","loggerName":"org.apache.catalina.connector.Connector","threadId":1,"threadPriority":5,"message":"Protocol handler instantiation failed","contextMap":{"sourceClassName":"org.apache.catalina.connector.Connector","sourceMethodName":"<init>"},"thrown":{"localizedMessage":"org.apache.coyote.http11.Http11Protocol","message":"org.apache.coyote.http11.Http11Protocol","name":"java.lang.ClassNotFoundException","extendedStackTrace":[{"class":"java.net.URLClassLoader","method":"findClass","file":"URLClassLoader.java","line":445},{"class":"java.lang.ClassLoader","method":"loadClass","file":"ClassLoader.java","line":592},{"class":"java.lang.ClassLoader","method":"loadClass","file":"ClassLoader.java","line":525},{"class":"java.lang.Class","method":"forName0","file":"Class.java","line":-2},{"class":"java.lang.Class","method":"forName","file":"Class.java","line":375},{"class":"org.apache.coyote.ProtocolHandler","method":"create","file":"ProtocolHandler.java","line":273},{"class":"org.apache.catalina.connector.Connector","method":"<init>","file":"Connector.java","line":88},{"class":"org.apache.catalina.startup.ConnectorCreateRule","method":"begin","file":"ConnectorCreateRule.java","line":62},{"class":"org.apache.tomcat.util.digester.Digester","method":"startElement","file":"Digester.java","line":1277},{"class":"com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser","method":"startElement","file":"AbstractSAXParser.java","line":518},{"class":"com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser","method":"emptyElement","file":"AbstractXMLDocumentParser.java","line":183},{"class":"com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl","method":"scanStartElement","file":"XMLDocumentFragmentScannerImpl.java","line":1387},{"class":"com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver","method":"next","file":"XMLDocumentFragmentScannerImpl.java","line":2726},

{"origin":"catalina","timeMillis":1714127058851,"thread":"main","level":"WARNING","loggerName":"org.apache.catalina.startup.Catalina","threadId":1,"threadPriority":5,"message":"Unable to load server configuration from [/opt/aspects/backoffice/tomcat/conf/server.xml]","contextMap":{"sourceClassName":"org.apache.catalina.startup.Catalina","sourceMethodName":"parseServerXml"},"thrown":{"localizedMessage":"Error at line [45] column [56]: [Cannot invoke \"Object.getClass()\" because the return value of \"org.apache.catalina.connector.Connector.getProtocolHandler()\" is null]","message":"Error at line [45] column [56]: [Cannot invoke \"Object.getClass()\" because the return value of \"org.apache.catalina.connector.Connector.getProtocolHandler()\" is null]","name":"org.xml.sax.SAXParseException","cause":{"localizedMessage":"Cannot invoke \"Object.getClass()\" because the return value of \"org.apache.catalina.connector.Connector.getProtocolHandler()\" is null","message":"Cannot invoke \"Object.getClass()\" because the return value of \"org.apache.catalina.connector.Connector.getProtocolHandler()\" is null","name":"java.lang.NullPointerException","extendedStackTrace":[{"class":"org.apache.catalina.startup.ConnectorCreateRule","method":"setExecutor","file":"ConnectorCreateRule.java","line":95},{"class":"org.apache.catalina.startup.ConnectorCreateRule","method":"begin","file":"ConnectorCreateRule.java","line":64},{"class":"org.apache.tomcat.util.digester.Digester","method":"startElement","file":"Digester.java","line":1277},{"class":"com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser","method":"startElement","file":"AbstractSAXParser.java","line":518},{"class":"com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser","method":"emptyElement","file":"AbstractXMLDocumentParser.java","line":183},{"class":"com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl","method":"scanStartElement","file":"XMLDocumentFragmentScannerImpl.java","line":1387},{"class":"com.sun.org.apache ... 




Read more...

Environment

SAP COMMERCE CLOUD

Product

SAP Commerce Cloud 2211

Keywords

apache, eol, tomcat, tomcat end of life, 8.5, 9 , deployment failure , KBA , CEC-SCC-CLA-DEP , Deployments , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.