2127665 - "EJB Model Builder: SAXParseException" error during deployment, complaining about 'Invalid Content' | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2127665 - "EJB Model Builder: SAXParseException" error during deployment, complaining about 'Invalid Content'

Symptom

During the deployment of a custom developed Development Component (DC) the deployment log drops a warning like below:

 

Warning occurred on server xxxxxxxxx during update of vendor.com/custom~example~ear : EJB Model Builder: SAXParseException(Error) occurred while parsing xml 'META-INF/ejb-j2ee-engine.xml' from archive 'vendor.com~custom~example~ejbmodule~ejbjar.jar' : org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'message-props'. One of '{ejb-ref, ejb-local-ref, resource-ref, resource-env-ref, message-destination-ref, server-component-ref, ior-security-config, app-startup-method, app-shutdown-method, bean-props, retriable-methods}' is expected.

...

at

com.sap.engine.services.ejb3.model.builders.CompositeModuleBuilder.validateDocumentAgainstSchema(CompositeModuleBuilder.java:427)

...

 

Besides this the DC can be deployed as it is a deployment 'Warning'. But the application cannot work properly afterwards as the XML in it could not be parsed.


Read more...

Environment

SAP NetWeaver Application Server for Java - Release independent

Product

SAP NetWeaver Application Server for Java all versions

Keywords

"EJB Model Builder: SAXParseException" error during deployment, complaining about 'Invalid Content' , KBA , saxparseexception , BC-JAS-DPL , Deployment , BC-JAS-EJB , Container EJB , Problem

About this page

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

Search for additional results

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