SAP Knowledge Base Article - Preview

2043952 - XML Deserialization Error. XML is not valid

Symptom

Deploying a web application, or editing its properties in the system through NetWeaver Administrator (/nwa), might fail with the following errors. Below is for example application com.sap.ip.bi.web.portal.integration but can be any other application:

Web Deployment error occurred when saving application properties.
[EXCEPTION]
com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Cannot store the modified web deployment descriptors of the web application [sap.com/com.sap.ip.bi.web.portal.integration]. Probably the changes will be lost.

Caused by: com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Cannot read [\usr\sap\<SID>\<InstanceID>\j2ee\cluster\apps\sap.com\com.sap.ip.bi.web.portal.integration\servlet_jsp\com.sap.ip.bi.web.portal.integration\root\WEB-INF\web.xml or \usr\sap\<SID>\<InstanceID>\j2ee\cluster\apps\sap.com\com.sap.ip.bi.web.portal.integration\servlet_jsp\com.sap.ip.bi.web.portal.integration\root\WEB-INF\web-j2ee-engine.xml] or error occurred in [\usr\sap\<SID>\<InstanceID>\j2ee\cluster\apps\sap.com\com.sap.ip.bi.web.portal.integration\servlet_jsp\com.sap.ip.bi.web.portal.integration\root\WEB-INF\web.xml or \usr\sap\<SID>\<InstanceID>\j2ee\cluster\apps\sap.com\com.sap.ip.bi.web.portal.integration\servlet_jsp\com.sap.ip.bi.web.portal.integration\root\WEB-INF\web-j2ee-engine.xml] for web application [com.sap.ip.bi.web.portal.integration].
at com.sap.engine.services.servlets_jsp.server.deploy.util.XmlUtils.parseXml(XmlUtils.java:75)

Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML is not valid. Element []<cookie> is required in <web-j2ee-engine> but can not be found.


Read more...

Environment

SAP NetWeaver Release Independent

Product

SAP NetWeaver Application Server all versions

Keywords

Deploy, SDM, Software Deployment Manager, Telnet, NetWeaver Developer Studio, NWDS , KBA , BC-JAS-WEB , Web Container, HTTP, JavaMail, Servlets , BC-JAS-DPL , Deployment , 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.