4 Replies Latest reply on Aug 4, 2016 12:21 PM by Chris gilstrac

    Move an application from AS4.3 to Wildfly 10

    Chris gilstrac Newbie

      Is there a guide for conversion to Wildfly10 from AS4.3?

       

      I did modify the classpath and correct issues.

      I attempt a deploy and receive:

      STRUCTURE: org.jboss.msc.service.StartException in service STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment

       

      Any guidance is appreciated?

        • 1. Re: Move an application from AS4.3 to Wildfly 10
          jaikiran pai Master

          Please post the complete stacktrace and more details about application packaging.

          • 2. Re: Move an application from AS4.3 to Wildfly 10
            Chris gilstrac Newbie

            10:29:58,719 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-4) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final

            10:29:58,786 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."mes-webservice-facade.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."mes-webservice-facade.war".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment "mes-webservice-facade.war"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

              at java.lang.Thread.run(Thread.java:745)

            Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0168: Error loading jboss-deployment-structure.xml from C:\Users\gilstc1\Downloads\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\deployments\mes-webservice-facade.war\WEB-INF\jboss-deployment-structure.xml

              at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:335)

              at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:307)

              at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.deploy(DeploymentStructureDescriptorParser.java:160)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)

              ... 5 more

            Caused by: com.ctc.wstx.exc.WstxParsingException: Received event DTD, instead of START_ELEMENT or END_ELEMENT.

            at [row,col {unknown-source}]: [2,13]

              at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:614)

              at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:487)

              at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:472)

              at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1180)

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

              at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:329)

              ... 8 more

             

             

            10:29:58,904 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080

            10:29:59,122 INFO  [org.jboss.ws.common.management] (MSC service thread 1-6) JBWS022052: Starting JBossWS 5.1.3.Final (Apache CXF 3.1.4)

            10:29:59,347 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]

            10:29:59,350 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "mes-webservice-facade.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"mes-webservice-facade.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"mes-webservice-facade.war\".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"mes-webservice-facade.war\"

                Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0168: Error loading jboss-deployment-structure.xml from C:\\Users\\gilstc1\\Downloads\\wildfly-10.0.0.Final\\wildfly-10.0.0.Final\\standalone\\deployments\\mes-webservice-facade.war\\WEB-INF\\jboss-deployment-structure.xml

                Caused by: com.ctc.wstx.exc.WstxParsingException: Received event DTD, instead of START_ELEMENT or END_ELEMENT.

            at [row,col {unknown-source}]: [2,13]"}}

            10:29:59,416 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "mes-webservice-facade.war" (runtime-name : "mes-webservice-facade.war")

            10:29:59,438 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

            WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."mes-webservice-facade.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."mes-webservice-facade.war".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment "mes-webservice-facade.war"

             

             

            10:29:59,637 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management

            10:29:59,637 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990

            10:29:59,637 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 8573ms - Started 269 of 556 services (1 services failed or missing dependencies, 371 services are lazy, passive or on-demand)

            10:29:59,712 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment mes-webservice-facade.war (runtime-name: mes-webservice-facade.war) in 4ms

            10:29:59,817 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "mes-webservice-facade.war" (runtime-name: "mes-webservice-facade.war")

            10:29:59,817 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report

            WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."mes-webservice-facade.war".STRUCTURE

             

             

            10:30:04,513 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found mes-webservice-facade.war in deployment directory. To trigger deployment create a file called mes-webservice-facade.war.dodeploy

            • 3. Re: Move an application from AS4.3 to Wildfly 10
              Tomaz Cerar Master

              there is something wrong with jboss-deployment-structure.xml

               

              error you get is related to server not being able to parse the file as it it is missing some closing tags.

              • 4. Re: Move an application from AS4.3 to Wildfly 10
                Chris gilstrac Newbie

                I manually created it.

                 

                It was these lines at the top of the top of the file.

                 

                <?xml version="1.0" encoding="UTF-8"?>

                <!DOCTYPE xml>