0 Replies Latest reply on Jan 30, 2015 4:31 AM by sachin singh

    ClassNotFoundException: javax.faces.webapp.FacesServlet from [Module "deployment.ihsource.war:main" from Service Module Loader]

    sachin singh Newbie

      Hi friends,

      I'm trying to migrating glassfish server to wildfly-8.0.0.Final in my application,

      In eclipse properties ->Target Runtimes -> select WildFly 8.0. I'm able to add WildFly 8.0. But I'm not seeing 'wildfly-8.0.0' in Server runtime and not getting 'wildfly-8.0.0 libraries. I think this is cause of issue. Please help how to add wildfly-8.0.0 in Server runtime.


      Thanks In advace,

       

      This is my eclipse error log while I'm trying to start wildfly-8.0.0

       

      13:39:51,207 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."ihsource.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ihsource.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "ihsource.war"

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

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

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

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

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

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

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet from [Module "deployment.ihsource.war:main" from Service Module Loader]

        at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.checkDeclaredApplicationClassAsServlet(JaxrsScanningProcessor.java:292)

        at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.scanWebDeployment(JaxrsScanningProcessor.java:154)

        at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.deploy(JaxrsScanningProcessor.java:105)

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

        ... 5 more

      Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet from [Module "deployment.ihsource.war:main" from Service Module Loader]

        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final]

        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final]

        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final]

        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final]

        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final]

        at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.checkDeclaredApplicationClassAsServlet(JaxrsScanningProcessor.java:290)

        ... 8 more

       

       

      13:39:51,214 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "ihsource.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"ihsource.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ihsource.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"ihsource.war\"

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet from [Module \"deployment.ihsource.war:main\" from Service Module Loader]

          Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet from [Module \"deployment.ihsource.war:main\" from Service Module Loader]"}}

      13:39:51,245 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 29) JBAS018559: Deployed "ihsource.war" (runtime-name : "ihsource.war")

      13:39:51,246 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."ihsource.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ihsource.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "ihsource.war"