Two Laptop Bag*
The moose likes Other Application Frameworks and the fly likes log4j:ERROR Could not instantiate class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "log4j:ERROR Could not instantiate class" Watch "log4j:ERROR Could not instantiate class" New topic
Author

log4j:ERROR Could not instantiate class

niras iva
Greenhorn

Joined: May 10, 2011
Posts: 18
While running my log file i got error like this.how can i rectify this problem?

Configure logging: file:///C:/Program Files/Wowza Media Systems/Wowza Media Server 2.2.3_1/conf/log4j.properties
log4j:ERROR Could not instantiate class [com.wowza.wms.plugin.logging.WowzaAppender].
java.lang.ClassNotFoundException: com.wowza.wms.plugin.logging.WowzaAppender
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.log4j.helpers.Loader.loadClass(Unknown Source)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Unknown Source)
at org.apache.log4j.helpers.OptionConverter.instantiateByKey(Unknown Source)
at org.apache.log4j.PropertyConfigurator.parseAppender(Unknown Source)
at org.apache.log4j.PropertyConfigurator.parseCategory(Unknown Source)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(Unknown Source)
at org.apache.log4j.PropertyConfigurator.doConfigure(Unknown Source)
at org.apache.log4j.PropertyConfigurator.configure(Unknown Source)
at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(Unknown Source)
at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(Unknown Source)
at com.wowza.wms.server.Server.initLogging(Unknown Source)
at com.wowza.wms.server.Server.start(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:249)
at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:48)
log4j:ERROR Could not instantiate appender named "serverAccess".
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: log4j:ERROR Could not instantiate class
 
Similar Threads
what is the problem with this code
java.lang.UnsupportedClassVersionError
java.io.InvalidClassException
SwingSet3
Tomcat service stops automatically and gives the following errors in log files when try to start it