4 Replies Latest reply on Oct 11, 2017 7:48 AM by Govind Sharma

    Error while deploying the war in jboss eap 6.0

    Sanjeev Kumar Newbie

      Hi All ,

       

      I was trying to deploy a war file in the jboss eap 6.0, but I am getting error which i have copied below. The same war file is working in the weblogic 9.2.

       

      #########

       

      20:04:03,036 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."FinancialClaimsPartner.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."FinancialClaimsPartner.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "FinancialClaimsPartner.war"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]

      Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.apache.struts.taglib.html.JavascriptValidatorTag with ClassLoader ModuleClassLoader for Module "deployment.FinancialClaimsPartner.war:main" from Service Module Loader

          at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

          at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)

          at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:85)

          at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:70)

          at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

          ... 5 more

      Caused by: java.lang.NoClassDefFoundError: org/apache/commons/validator/ValidatorResources

          at java.lang.Class.getDeclaredMethods0(Native Method) [rt.jar:1.6.0_45]

          at java.lang.Class.privateGetDeclaredMethods(Class.java:2436) [rt.jar:1.6.0_45]

          at java.lang.Class.getDeclaredMethods(Class.java:1793) [rt.jar:1.6.0_45]

          at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:65) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

          at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

          ... 10 more

      Caused by: java.lang.ClassNotFoundException: org.apache.commons.validator.ValidatorResources from [Module "deployment.FinancialClaimsPartner.war:main" from Service Module Loader]

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

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

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

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

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

          ... 15 more

       

      20:04:03,052 INFO  [org.jboss.as.server] (HttpManagementService-threads - 16) JBAS015870: Deploy of deployment "FinancialClaimsPartner.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"FinancialClaimsPartner.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"FinancialClaimsPartner.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"FinancialClaimsPartner.war\"

          Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.apache.struts.taglib.html.JavascriptValidatorTag with ClassLoader ModuleClassLoader for Module \"deployment.FinancialClaimsPartner.war:main\" from Service Module Loader

          Caused by: java.lang.NoClassDefFoundError: org/apache/commons/validator/ValidatorResources

          Caused by: java.lang.ClassNotFoundException: org.apache.commons.validator.ValidatorResources from [Module \"deployment.FinancialClaimsPartner.war:main\" from Service Module Loader]"}}

      20:04:04,924 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment FinancialClaimsPartner.war in 1873ms

       

      ############

       

      Can anybody suggest, if this is because of any jar issue or any other issue.

       

      Regards

      Sanjeev Kumar