Quoting Jerald Powel <[EMAIL PROTECTED]>:

> 
> 
> Hello,
> 
>       Yes, I see it in the Javadoc. Here's my confusion. I am not 'using'
> Log4j-1.2.8 at all! To implement the logic you talk of, I would have to get a
> JAR from the Apache web site?

Yes, but you are using commons-logging and commons-logging, if it finds any
version of Log4j on the classpath, will use that as its logging implementation
in preference to any other logging framework by default.  Log4j is quite simply
somewhere on your classpath whether you mean to put it there or not.

 Even though I am not using Log4j whatsoever on
> my app, is this necessary? I dont know what class I was referencing before
> (my IDE is down), but I am looking on the net for a JAR that might contain
> the desired class.  Please advise if I am marking up the wrong tree!
> 

There's one clue: "my IDE is down".  Are you running Tomcat from within your
IDE?  In this case, Log4j might be being added to your classpath via the IDE
including it by default.  Or, it might be somewhere on your system classpath. 
The Tomcat startup scripts ignore the system classpath, but using the IDE to
start it up wouldn't ignore it.

Ultimately, this is a classpath issue.  Find where Log4j is being included in
the classpath and update that version to the latest 1.2.8.  Then set up the
servlet context listenter and call LogManager.shutdown().

Jake

> thanks
> 
> G.
> 
> 
> Hmm... Take another look at LogManager's source code. I absolutely, 100%
> guarantee that LogManager.shutdown() exists. You are using Log4j-1.2.8,
> right? I know it exists there and I think it has been around for a while
> anyway (but can't be sure). Anyway, the proof is in the Javadoc....
> 
>
http://logging.apache.org/log4j/docs/api/org/apache/log4j/LogManager.html#shutdown()
> 
> Jake
> 
> 
> 
> >G.
> >
> >
> >This has to do with Log4j. Make sure you set up a servlet context listener
> >and do LogManager.shutdown() in the contextDestroyed() method. This will
> >take care of your troubles.
> >
> >Jake
> >
> >At 02:13 AM 3/16/2004 +0000, you wrote:
> >
> > >Hello all,
> > >
> > > Can anyone shed some light on the above error please? On the web, I
> > > saw it often associated with NoClassDefFoundError, and something called
> > > DOMConfigurator.
> > >
> > > May app does indeed parse XML (JDom and Nano XML). Is this message
> > > linked to an error possibly residing in my XML parsing?
> > >
> > > I also see that it is associated with the stop() method on the
> > > WebappClassLoader'. But I am not calling such a method.
> > >
> > >Any info appreciated
> > >
> > >G.
> > >
> > >
> > >
> > >
> > >---------------------------------
> > > Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
> > > Download Messenger Now
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >---------------------------------
> > Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
> > Download Messenger Now
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------
>   Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
> Download Messenger Now

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to