Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2731

Class-loading in jboss-web descriptor causes deployments to fail on AS 7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.2, 1.4.3
    • 1.5.0
    • None
    • None
    • JBoss EAP 6.3

    Description

      Recent versions of JBoss fail to deploy continuum due to the bundled jboss-web.xml:

      17:41:58,830 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."apache-continuum-1.4.2.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."apache-continuum-1.4.2.war".PARSE: JBAS018733: Failed to process phase PARSE of deployment "apache-continuum-1.4.2.war"
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.2.Final-redhat-2.jar:7.4.2.Final-redhat-2]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/content/apache-continuum-1.4.2.war/WEB-INF/jboss-web.xml" at [26,3]
              at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:79)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.2.Final-redhat-2.jar:7.4.2.Final-redhat-2]
              ... 5 more
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[26,3]
      Message: Unexpected element 'class-loading' encountered
              at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109)
              at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:210)
              at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:71)
              ... 6 more
      

      See https://developer.jboss.org/thread/221002?tstart=0&_sscc=t

      Attachments

        Issue Links

          Activity

            People

              batkinson Brent Atkinson
              batkinson Brent Atkinson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: