2 Replies Latest reply on Mar 30, 2016 9:07 AM by Helen Chen

    logmanager cannot find class org.jboss.logging.appender.DailyRollingFileAppender

    Helen Chen Novice

      Hi there,

       

      I'm using Wildfly 10 standalone mode, while I start the Wildfly server, I found the following error message. I did unzip the logmanager module, didn't see class org.jboss.logging.appender.DailyRollingFileAppender (I think it is actually at org.apache.log4j package). I guess it is miner issue, but I just want to double check in case I missed any configuration:

       

      -bash-4.1# 10:50:46,154 ERROR [stderr] log4j:ERROR Could not create an Appender. Reported error follows.

      10:50:46,160 ERROR [stderr] java.lang.ClassNotFoundException: org.jboss.logging.appender.DailyRollingFileAppender from [Module "org.jboss.log4j.logmanager:main" from local module loader @33e5ccce (finder: local module finder @5a42bbf4 (roots: /opt/jboss/modules,/opt/jboss/modules/system/layers/base))]

      10:50:46,160 ERROR [stderr]     at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)

      10:50:46,160 ERROR [stderr]     at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)

      10:50:46,160 ERROR [stderr]     at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)

      10:50:46,160 ERROR [stderr]     at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)

      10:50:46,160 ERROR [stderr]     at java.lang.Class.forName0(Native Method)

      10:50:46,161 ERROR [stderr]     at java.lang.Class.forName(Class.java:264)

      10:50:46,161 ERROR [stderr]     at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198)

      10:50:46,161 ERROR [stderr]     at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:247)

      10:50:46,161 ERROR [stderr]     at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)

      10:50:46,161 ERROR [stderr]     at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)

      10:50:46,161 ERROR [stderr]     at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)

      10:50:46,161 ERROR [stderr]     at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492)

      10:50:46,161 ERROR [stderr]     at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1001)

      10:50:46,161 ERROR [stderr]     at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:867)

      10:50:46,162 ERROR [stderr]     at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:794)

      10:50:46,162 ERROR [stderr]     at org.jboss.as.logging.deployments.LoggingConfigDeploymentProcessor.configure(LoggingConfigDeploymentProcessor.java:238)

      10:50:46,162 ERROR [stderr]     at org.jboss.as.logging.deployments.LoggingConfigDeploymentProcessor.processDeployment(LoggingConfigDeploymentProcessor.java:114)

      10:50:46,163 ERROR [stderr]     at org.jboss.as.logging.deployments.LoggingConfigDeploymentProcessor.processDeployment(LoggingConfigDeploymentProcessor.java:144)

      10:50:46,163 ERROR [stderr]     at org.jboss.as.logging.deployments.AbstractLoggingDeploymentProcessor.deploy(AbstractLoggingDeploymentProcessor.java:67)

      10:50:46,163 ERROR [stderr]     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)

      10:50:46,163 ERROR [stderr]     at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

      10:50:46,163 ERROR [stderr]     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

      10:50:46,163 ERROR [stderr]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

      10:50:46,163 ERROR [stderr]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

      10:50:46,164 ERROR [stderr]     at java.lang.Thread.run(Thread.java:745)

       

      Thanks, Helen