SAP Knowledge Base Article - Preview

2043952 - XML Deserialization Error. XML is not valid


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 but can be any other application:

Web Deployment error occurred when saving application properties.
[EXCEPTION] Cannot store the modified web deployment descriptors of the web application []. Probably the changes will be lost.

Caused by: Cannot read [\usr\sap\<SID>\<InstanceID>\j2ee\cluster\apps\\\servlet_jsp\\root\WEB-INF\web.xml or \usr\sap\<SID>\<InstanceID>\j2ee\cluster\apps\\\servlet_jsp\\root\WEB-INF\web-j2ee-engine.xml] or error occurred in [\usr\sap\<SID>\<InstanceID>\j2ee\cluster\apps\\\servlet_jsp\\root\WEB-INF\web.xml or \usr\sap\<SID>\<InstanceID>\j2ee\cluster\apps\\\servlet_jsp\\root\WEB-INF\web-j2ee-engine.xml] for web application [].

Caused by: XML Deserialization Error. XML is not valid. Element []<cookie> is required in <web-j2ee-engine> but can not be found.



SAP NetWeaver Release Independent


SAP NetWeaver Application Server all versions


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.