0 Replies Latest reply on Aug 31, 2015 8:59 AM by Badrinath Soudary

    Application migrate from glassfish3.1.2 to wildfly8.2.1.Final

    Badrinath Soudary Newbie

      Hello Team,

       

      While migrating war file from glassfish3.1.2 to wildfly8.2.1.Final. While deploying a .war file I receive below error.

       

      14:37:47,235 TRACE [org.jboss.modules] (MSC service thread 1-4) Class org.wildfly.extension.undertow.deployment.WarMetaDataProcessor not found from Module "org.jboss.logmanager:main" from local module loader @3cef309d (finder: local module finder @32709393 (roots: C:\WildFly\wildfly-8.2.1.Final\modules,C:\WildFly\wildfly-8.2.1.Final\modules\system\layers\base))

      14:37:47,225 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."xxx.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."coach-rt-eps.war".PARSE: JBAS018733: Failed to process phase PARSE of deployment "coach-rt-eps.war"

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.2.1.Final.jar:8.2.1.Final]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_60]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_60]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]

      Caused by: java.lang.IllegalArgumentException: Null injectionTargets

        at org.jboss.metadata.javaee.spec.ResourceInjectionMetaData.setInjectionTargets(ResourceInjectionMetaData.java:150)

        at org.jboss.metadata.merge.javaee.spec.ResourceInjectionMetaDataMerger.augment(ResourceInjectionMetaDataMerger.java:64)

        at org.jboss.metadata.merge.javaee.spec.ResourceReferencesMetaDataMerger.augment(ResourceReferencesMetaDataMerger.java:117)

        at org.jboss.metadata.merge.javaee.spec.RemoteEnvironmentRefsGroupMetaDataMerger.augment(RemoteEnvironmentRefsGroupMetaDataMerger.java:305)

        at org.jboss.metadata.merge.javaee.spec.EnvironmentRefsGroupMetaDataMerger.augment(EnvironmentRefsGroupMetaDataMerger.java:71)

        at org.jboss.metadata.merge.web.spec.WebCommonMetaDataMerger.augment(WebCommonMetaDataMerger.java:383)

        at org.wildfly.extension.undertow.deployment.WarMetaDataProcessor.deploy(WarMetaDataProcessor.java:323)

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.2.1.Final.jar:8.2.1.Final]

        ... 5 more

       

       

      14:37:47,235 TRACE [org.jboss.modules] (MSC service thread 1-4) Finding class org.jboss.msc.service.ServiceControllerImpl$DependencyFailedTask from Module "org.jboss.msc:main" from local module loader @3cef309d (finder: local module finder @32709393 (roots: C:\WildFly\wildfly-8.2.1.Final\modules,C:\WildFly\wildfly-8.2.1.Final\modules\system\layers\base))

      14:37:47,235 TRACE [org.jboss.modules] (Controller Boot Thread) Found previously loaded class org.jboss.logging.Logger$Level from Module "org.jboss.logging:main" from local module loader @3cef309d (finder: local module finder @32709393 (roots: C:\WildFly\wildfly-8.2.1.Final\modules,C:\WildFly\wildfly-8.2.1.Final\modules\system\layers\base))

      14:37:47,235 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "xxx.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"xxx.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xxx.war\".PARSE: JBAS018733: Failed to process phase PARSE of deployment \"xxx.war\"

          Caused by: java.lang.IllegalArgumentException: Null injectionTargets"}}

      14:37:47,235 TRACE [org.jboss.modules] (Controller Boot Thread) Finding class org.jboss.as.controller.services.path.PathEntry from Module "org.jboss.as.logging:main" from local module loader @3cef309d (finder: local module finder

       

       

      Please help me resolving this problem. And also i would like to know, how can i debug wildfly server while deploying a .war file. Thankyou.

       

      Badrinath Soudary.