cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anshul Gangwar (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-2187) catalina log filled with ClassNotFoundException for snmp and syslog
Date Fri, 12 Sep 2014 09:17:34 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anshul Gangwar closed CLOUDSTACK-2187.
--------------------------------------

> catalina log filled with ClassNotFoundException  for snmp and syslog
> --------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2187
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2187
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>            Reporter: sadhu suresh
>            Assignee: Anshul Gangwar
>             Fix For: 4.2.0
>
>
> Noticed following exeption  on fresh setup also and this exception is continously logged
in catalina.out file.
> Its also happening for syslogs also: 
> 4j:ERROR Could not create an Appender. Reported error follows. 
> java.lang.ClassNotFoundException: org.apache.cloudstack.syslog.AlertsSyslogAppender
>          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
>          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
>          at java.lang.Class.forName0(Native Method) 
>         at java.lang.Class.forName(Class.java:186) 
>         at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198) 
>         at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:247)
>          at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
>          at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
>          at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
>          at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:436)
>          at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:999)
>          at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:867)
>          at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:755)
>          at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:1120)
>          at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:89)
>          at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:58)

>         at org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:1112) 
>         at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:735)
>          at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:718)
>          at com.cloud.utils.LogUtils.initLog4j(LogUtils.java:32) 
>         at com.cloud.bridge.service.EC2MainServlet.init(EC2MainServlet.java:66) 
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
>  
> For SNMP: 
> Network Service is configured. 
> INFO [utils.component.ComponentContext] (Timer-1:) Configuring com.cloud.network.vpc.VpcManagerImpl_EnhancerByCloudStack_b4718e6f
>  log4j:ERROR Could not create an Appender. Reported error follows. 
> java.lang.ClassNotFoundException: org.apache.cloudstack.alert.snmp.SnmpTrapAppender
>          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)
>          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
>          at java.lang.Class.forName0(Native Method) 
>         at java.lang.Class.forName(Class.java:188) 
>         at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198) 
>         at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:247)
>          at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
>          at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
>          at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
>          at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:436)
>          at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:999)
>          at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:867)
>          at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:755)
>          at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:1120)
>          at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:89)
>          at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:58)

>         at org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:1112) 
>         at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:735)
>          at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:718)
>          at com.cloud.utils.LogUtils.initLog4j(LogUtils.java:32) 
>         at com.cloud.bridge.service.EC2MainServlet.init(EC2MainServlet.java:66) 
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
>          at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
>  
> [management]# grep -i "ClassNotFoundException: org.apache.cloudstack.alert.snmp.SnmpTrapAppender"
catalina.out |wc -l
>  28 
> [management]# grep -i "java.lang.ClassNotFoundException: org.apache.cloudstack.syslog.AlertsSyslogAppender"
catalina.out |wc -l
>  28 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message