Looks like as a wrong jboss-web.xml in your sharEAR.ear
Mandar Joglekar wrote:
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: loader-repository cannot appear in this position. Expected content of jboss-web is unordered_sequence: security-role* max-active-sessions? webservice-description* class-loading? jacc-star-role-allow? message-destination* servlet* replication-config? passivation-config? context-root? security-domain? virtual-host* use-session-cookies? depends* {unordered_sequence jndiEnvironmentRefsGroup}?