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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Roberto, 1 year ago
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
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(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.