org.jboss.xb.binding.JBossXBException

Failed to parse > > source: 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.parser.sax.SaxJBossXBParser.parse > > (SaxJBossXBParser.java:203) at org.jboss.xb.binding.UnmarshallerImpl.unmarshal > > (UnmarshallerImpl.java:168)

Solutions on the web260

  • via Google Groups by Roberto, 1 year ago
    Failed to parse > source: 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
  • via Google Groups by Jonatas Santos, 11 months ago
    Failed to parse source: 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
  • via Google Groups by Unknown author, 1 month ago
    Failed to parse source: listener cannot appear in this position. Expected content of web-app is unordered_sequence: error-page* welcome-file-list? servlet- mapping* login-config? mime-mapping* distributable? session-config? security-role* taglib* security- constraint* context-param* servlet* {all descriptionGroup}? {unordered_sequence jndiEnvironmentRefsGroup}?
  • Stack trace

    • org.jboss.xb.binding.JBossXBException: Failed to parse > > source: 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.parser.sax.SaxJBossXBParser.parse > > (SaxJBossXBParser.java:203) at org.jboss.xb.binding.UnmarshallerImpl.unmarshal > > (UnmarshallerImpl.java:168) at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189) at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)

    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

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