1 Reply Latest reply on Sep 26, 2003 6:10 AM by Dale Bronk

    Startup: Could not instantiate class [org.apache.log4j.xml.D

    Dale Bronk Newbie

      I downloaded both 3.2.1RC3 and RC4. I unzip, set my JAVA_HOME and try and run. I get the following exception: (Environment is Windows 2000 Professional)

      log4j:ERROR Could not instantiate class [org.apache.log4j.xml.DOMConfigurator].
      java.lang.ClassNotFoundException: org.apache.log4j.xml.DOMConfigurator
      at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160)
      at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:309)

      at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:449)
      at org.apache.log4j.LogManager.(LogManager.java:113)
      at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:63)
      at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:320)
      at org.jboss.logging.Logger.(Logger.java:78)
      at org.jboss.logging.Logger.getLogger(Logger.java:267)
      at javax.management.NotificationBroadcasterSupport.(NotificationBroadcasterSupport.jav
      a:29)
      at org.jboss.system.server.ServerImpl.doInit(ServerImpl.java:141)
      at org.jboss.system.server.ServerImpl.init(ServerImpl.java:126)
      at org.jboss.Main.boot(Main.java:145)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:534)
      log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
      log4j:WARN No appenders could be found for logger (org.jboss.system.server.Server).
      log4j:WARN Please initialize the log4j system properly.
      08:11:59,203 INFO [Log4jService] Created
      08:11:59,203 INFO [WebService] Creating
      08:11:59,218 INFO [WebService] Created
      08:11:59,218 INFO [NamingService] Creating
      08:11:59,218 INFO [NamingService] Created