At 10:38 PM 3/17/2004 +0000, you wrote:

Hi,

Thank you for that, and excuse my delay in responding. I tried what you suggested, but found the LogManager class did not contain such a method. It did have one method to speak of - getLogManager() which returns an instance of LogManager, but that also has no shutdown method. I found reset():

LogManager.getLogManager().reset();

I am using JDK 1.4.2_03. How might I sort this hassle out please? It seems to be happening very infrequently, but is definately a show stopper!

thanks

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]



Reply via email to