0 Replies Latest reply on Mar 25, 2014 11:37 AM by M R

    JBAS011006: Not installing optional component

    M R Newbie

      Hi,

       

      I am able to deploy my war file in JBOSS 5 or JBOSS 4 without any issue but I am getting the below error when i try to deploy war file in jboss-eap-6.1

       

      Thanks in Advance,

       

      Error Details

       

      20:45:29,203 WARN  [org.jboss.as.ee] (MSC service thread 1-4) JBAS011006: Not installing optional component  com.xyz.services.ProcessFlow.servlets.MainServlet

      due to exception: java.lang.ClassNotFoundException: com.xyz.services.ProcessFlow.servlets.MainServlet from [Module "deployment.ProcessFlow.war:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.0.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432) [jboss-modules.jar:1.2.0.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374) [jboss-modules.jar:1.2.0.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119) [jboss-modules.jar:1.2.0.Final-redhat-1]

              at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_51]

              at java.lang.Class.forName(Class.java:270) [rt.jar:1.7.0_51]

              at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54)

              at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:78) [jboss-as-ee-7.2.0.Final-redha

      t-8.jar:7.2.0.Final-redhat-8]

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

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