2 Replies Latest reply on Jun 29, 2012 11:33 AM by jnorris

    Issue deploying designer.war

    jnorris Newbie

      Hi All,

       

      For some reason yesterday the designer.war file (v2.2) stopped deploying due to a class not found exception with log4j.  All of the other wars deploy without any issues.  Any help would be greatly appreciated.  The exception is given below.

       

      Thanks,

      Jim

       

      07:35:16,437 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.deployment.unit."designer.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."designer.war".INSTALL: Failed to process phase INSTALL of deployment "designer.war"

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

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

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

      Caused by: java.lang.RuntimeException: Error getting reflective information for class org.jbpm.designer.web.server.DictionaryServlet

                at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)

                at org.jboss.as.ee.component.EEModuleClassDescription$DefaultConfigurator.configure(EEModuleClassDescription.java:176)

                at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:147)

                at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:122)

                at org.jboss.as.ee.component.LazyValue.get(LazyValue.java:40)

                at org.jboss.as.ee.component.EEApplicationDescription.getClassConfiguration(EEApplicationDescription.java:183)

                at org.jboss.as.ee.component.ComponentDescription.createConfiguration(ComponentDescription.java:153)

                at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:70)

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

                ... 5 more

      Caused by: java.lang.NoClassDefFoundError: Lorg/apache/log4j/Logger;

                at java.lang.Class.getDeclaredFields0(Native Method) [:1.6.0_24]

                at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [:1.6.0_24]

                at java.lang.Class.getDeclaredFields(Class.java:1743) [:1.6.0_24]

                at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57)

                at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)

                ... 13 more

      Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger from [Module "deployment.designer.war:main" from Service Module Loader]

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

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

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

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

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

                ... 18 more

       

       

      07:35:17,609 ERROR [stderr] (MSC service thread 1-3) SLF4J: This version of SLF4J requires log4j version 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version

       

       

      07:35:17,937 ERROR [stderr] (MSC service thread 1-3) log4j:WARN No appenders could be found for logger (org.reflections.Reflections).

       

       

      07:35:17,937 ERROR [stderr] (MSC service thread 1-3) log4j:WARN Please initialize the log4j system properly.