1 Reply Latest reply on Jan 9, 2017 4:55 AM by Miroslav Novak

    Migration from Jboss EAP 6.4 to Wildfly 10. Getting exception

    Venkatesh Alapati Newbie

      The project EAR file was getting deployed without any issues in the Jboss EAP 6.4. Created the jms queues from the Wildfly 10 console.  When same ear is deployed in Wildfly 10, the below exception is thrown.

       

      6:55:04,699 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./MyProjectService.UndertowDeploymentInfoService: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./MyProjectService.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: com.scos.web.MyProject.service.MyProjectPortType from [Module "deployment.MyProjectServiceEAR.ear.MyProjectService.war:main" from Service Module Loader]

              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:1066)

              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:281)

              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: java.lang.ClassNotFoundException: com.scos.web.MyProject.service.MyProjectPortType from [Module "deployment.MyProjectServiceEAR.ear.MyProjectService.war:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)

              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:721)

              ... 6 more

       

       

      16:55:04,705 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "MyProjectServiceEAR.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {

          "jboss.deployment.subunit.\"MyProjectServiceEAR.ear\".\"MyProjectMDB.jar\".component.MdbListener.START" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"MyProjectServiceEAR.ear\".\"MyProjectMDB.jar\".component.MdbListener.START: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: Invalid settings: If set, the destinationType must be either 'javax.jms.Topic' or 'javax.jms.Queue'.

          Caused by: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: Invalid settings: If set, the destinationType must be either 'javax.jms.Topic' or 'javax.jms.Queue'.

          Caused by: javax.resource.spi.InvalidPropertyException: Invalid settings: If set, the destinationType must be either 'javax.jms.Topic' or 'javax.jms.Queue'.",

          "jboss.undertow.deployment.default-server.default-host./MyProjectService.UndertowDeploymentInfoService" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./MyProjectService.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: com.scos.web.MyProject.service.MyProjectPortType from [Module \"deployment.MyProjectServiceEAR.ear.MyProjectService.war:main\" from Service Module Loader]

          Caused by: java.lang.ClassNotFoundException: com.scos.web.MyProject.service.MyProjectPortType from [Module \"deployment.MyProjectServiceEAR.ear.MyProjectService.war:main\" from Service Module Loader]"

      }}

       

      Can someone please help on this. What could be the root cause. Any suggestions please.