org.xml.sax.SAXParseException

cvc-complex-type.2.4.a: Invalid content was found starting with element 'messaging-type'. One of '{"http://java.sun.com/xml/ns/j2ee":message-destination-type, "http://java.sun.com/xml/ns/j2ee":message-destination-link, "http://java.sun.com/xml/ns/j2ee":activation-config, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":security-identity}' is expected.

Solutions on the web4389

  • via Oracle Community by 807581, 1 year ago
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'messaging-type'. One of '{"http://java.sun.com/xml/ns/j2ee":message-destination-type, "http://java.sun.com/xml/ns/j2ee":message-destination-link, "http://java.sun.com/xml/ns
  • via Coderanch by Ekaterina Galkina, 11 months ago
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com
  • via Google Groups by kjh...@gw.dec.state.ny.us, 1 year ago
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com
  • Stack trace

    • org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'messaging-type'. One of '{"http://java.sun.com/xml
    • s/j2ee":message-destination-type, "http://java.sun.com/xml
    • s/j2ee":message-destination-link, "http://java.sun.com/xml
    • s/j2ee":activation-config, "http://java.sun.com/xml
    • s/j2ee":env-entry, "http://java.sun.com/xml
    • s/j2ee":ejb-ref, "http://java.sun.com/xml
    • s/j2ee":ejb-local-ref, "http://java.sun.com/xml
    • s/j2ee":service-ref, "http://java.sun.com/xml
    • s/j2ee":resource-ref, "http://java.sun.com/xml
    • s/j2ee":resource-env-ref, "http://java.sun.com/xml
    • s/j2ee":message-destination-ref, "http://java.sun.com/xml
    • s/j2ee":security-identity}' is expected. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:380) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:314) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:410) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3114) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1758) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:686) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:326) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1563) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:341) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:828) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:758) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1178) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:256) at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:186) at com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:226) at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:191) at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:127) at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:673) at com.sun.enterprise.tools.verifier.VerificationHandler.getApplicationDescriptor(VerificationHandler.java:159) at com.sun.enterprise.tools.verifier.VerificationHandler.verifyArchive(VerificationHandler.java:62) at com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.java:75) at com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:53)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 6 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    3 times, 2 weeks ago
    2 times, 2 weeks ago
    40 more bugmates