org.jboss.xb.binding.JBossXBRuntimeException: main-servlet > cannot appear in this position. Expected content of sip-app is > unordered_sequence: post-constructs* app-name? locale-encoding-mapping- > list? login-config? session-config? ejb-references* message- > destination-references* security-role* pre-destroys* ejb-local- > references* context-param* persistence-context-refs* persistence-unit- > refs* message-destination* servlet* resource-environment-references* > resource-references* distributable? service-references* servlet- > selection? security-constraint* listener* proxy-config? environment- > entries* {all descriptionGroup}? {unordered_sequence > jndiEnvironmentRefsGroup}? at > org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement > (SundayContentHandler.java:449) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser > $DelegatingContentHandler.startElement(SaxJBossXBParser.java:401) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown > Source) at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown > Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement > (Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl > $FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument > (Unknown Source)

Google Groups | Roberto | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Developing a SIP application with SEAM framework

    Google Groups | 7 years ago | Roberto
    org.jboss.xb.binding.JBossXBRuntimeException: main-servlet > cannot appear in this position. Expected content of sip-app is > unordered_sequence: post-constructs* app-name? locale-encoding-mapping- > list? login-config? session-config? ejb-references* message- > destination-references* security-role* pre-destroys* ejb-local- > references* context-param* persistence-context-refs* persistence-unit- > refs* message-destination* servlet* resource-environment-references* > resource-references* distributable? service-references* servlet- > selection? security-constraint* listener* proxy-config? environment- > entries* {all descriptionGroup}? {unordered_sequence > jndiEnvironmentRefsGroup}? at > org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement > (SundayContentHandler.java:449) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser > $DelegatingContentHandler.startElement(SaxJBossXBParser.java:401) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown > Source) at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown > Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement > (Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl > $FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument > (Unknown Source)

    Root Cause Analysis

    1. org.jboss.xb.binding.JBossXBRuntimeException

      main-servlet > cannot appear in this position. Expected content of sip-app is > unordered_sequence: post-constructs* app-name? locale-encoding-mapping- > list? login-config? session-config? ejb-references* message- > destination-references* security-role* pre-destroys* ejb-local- > references* context-param* persistence-context-refs* persistence-unit- > refs* message-destination* servlet* resource-environment-references* > resource-references* distributable? service-references* servlet- > selection? security-constraint* listener* proxy-config? environment- > entries* {all descriptionGroup}? {unordered_sequence > jndiEnvironmentRefsGroup}? at > org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement > (SundayContentHandler.java:449) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser > $DelegatingContentHandler.startElement(SaxJBossXBParser.java:401) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown > Source) at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown > Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement > (Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl > $FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument > (Unknown Source)

      at org.apache.xerces.parsers.XML11Configuration.parse()
    2. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      2. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      3. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      4. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      4 frames