5 Replies Latest reply on Feb 23, 2012 10:51 AM by Gonne Martens

    jboss-deployment-structure-1_1.xsd ?

    Gonne Martens Novice

      Hi,

       

      is the version 1.1 of the JBoss Deployment Structure file supported by JBoss 7.1.0.CR1b?

       

      Kind regards,

      Gonne

        • 2. Re: jboss-deployment-structure-1_1.xsd ?
          Gonne Martens Novice

          Ok, but why can my jboss-deployment-structure.xml not be parsed?

           

           

          {code:xml}

          <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">

              <deployment>

                  <dependencies>

                      <module name="deployment.system"/>

                  </dependencies>

              </deployment>

              <module name="deployment.system">

                  <dependencies>

                      <system export="true">

                          <paths>

                              <path name="com/sun/net/ssl/internal/ssl"/>

                          </paths>

                      </system>

                  </dependencies>

              </module>

          </jboss-deployment-structure>

          {code}

           

          Error message:

           

          {code}

          16:41:51,296 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."merlix-ear.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."merlix-ear.ear".STRUCTURE: Failed to process phase STRUCTURE of deployme

          nt "merlix-ear.ear"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0_01]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0_01]

              at java.lang.Thread.run(Thread.java:722) [:1.7.0_01]

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Error loading jboss-structure.xml from D:\jboss\jboss-as-7.1.0.CR1b\standalone\deployments\merlix-ear.ear\META-INF\jboss-deployment-structure.xml

              at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:265) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:237) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.deploy(DeploymentStructureDescriptorParser.java:132) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              ... 5 more

          Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[9,10]

          Message: Unexpected content of type 'element start' named '{urn:jboss:deployment-structure:1.1}system'

              at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.unexpectedContent(JBossDeploymentStructureParser11.java:1072) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.parseDependencies(JBossDeploymentStructureParser11.java:397) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.parseModuleStructureSpec(JBossDeploymentStructureParser11.java:314) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.parseModule(JBossDeploymentStructureParser11.java:291) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.readElement(JBossDeploymentStructureParser11.java:215) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.readElement(JBossDeploymentStructureParser11.java:44) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)

              at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)

              at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:259) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

              ... 8 more

          {code}

          • 3. Re: jboss-deployment-structure-1_1.xsd ?
            jaikiran pai Master

            Please create a JIRA, there's a bug in there. The elements map maintained in that parser isn't being populated with this element name (and possibly one another).

            1 of 1 people found this helpful
            • 4. Re: jboss-deployment-structure-1_1.xsd ?
              Gonne Martens Novice

              With JBoss 7.1.0.Final it is parsed correctly, but system classes are still not found by my application.