0 Replies Latest reply on Mar 17, 2006 12:02 PM by Russ

    Unable to Deploy using JBoss-IDE--logging Error?

    Russ Newbie

      Guys:

      This may ultimately become my issue, but right now I can isolate the root cause for sure...

      I am using Eclipse 3.2, JDK1.5_06, JBoss4.0.3SP1. I am using log4j-1.2.8.jar for logging. The Application sever configuration has been test and works on another box. When I start the application server within Eclipse using the Server Natigator View, the server starts. When I go looking at the log files, I find the below error:

      2006-03-17 10:38:55,750 INFO [STDOUT] log4j: Threshold ="null".
      2006-03-17 10:38:55,750 INFO [STDOUT] log4j: Retreiving an instance of org.apache.log4j.Logger.
      2006-03-17 10:38:55,750 INFO [STDOUT] log4j: Setting [org.apache] additivity to [true].
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Level value for org.apache is [INFO].
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: org.apache level set to INFO
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Retreiving an instance of org.apache.log4j.Logger.
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Setting [org.jgroups] additivity to [true].
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Level value for org.jgroups is [WARN].
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: org.jgroups level set to WARN
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Retreiving an instance of org.apache.log4j.Logger.
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Setting [org.jboss.axis] additivity to [true].
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Level value for org.jboss.axis is [INFO].
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: org.jboss.axis level set to INFO
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Retreiving an instance of org.apache.log4j.Logger.
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Setting [org.jboss.management] additivity to [true].
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Level value for org.jboss.management is [INFO].
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: org.jboss.management level set to INFO
      2006-03-17 10:38:55,765 INFO [STDOUT] log4j: Class name: [org.apache.log4j.ConsoleAppender]
      2006-03-17 10:38:55,781 INFO [STDOUT] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
      2006-03-17 10:38:55,781 INFO [STDOUT] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
      2006-03-17 10:38:55,781 INFO [STDOUT] log4j:ERROR [WebappClassLoader
       delegate: false
       repositories:
      ----------> Parent Classloader:
      java.net.FactoryURLClassLoader@1cd1217
      ] whereas object of type
      2006-03-17 10:38:55,781 INFO [STDOUT] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@bfea1d].
      2006-03-17 10:38:55,796 INFO [STDOUT] log4j: Setting property [target] to [System.out].
      2006-03-17 10:38:55,796 INFO [STDOUT] log4j: Setting property [threshold] to [DEBUG].
      2006-03-17 10:38:55,796 INFO [STDOUT] log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
      2006-03-17 10:38:55,859 INFO [STDOUT] log4j: Setting property [conversionPattern] to [%d{ABSOLUTE} %-5p [%c{1}] %m%n].
      2006-03-17 10:38:55,875 INFO [STDOUT] log4j: Adding appender named [CONSOLE] to category [root].
      2006-03-17 10:38:55,875 INFO [STDOUT] log4j: Class name: [org.jboss.logging.appender.DailyRollingFileAppender]
      2006-03-17 10:38:55,875 INFO [STDOUT] log4j:ERROR Could not create an Appender. Reported error follows.
      2006-03-17 10:38:55,875 INFO [STDOUT] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender
      


      Is there an error with log4j?


      Russ