Re: commons-logging classloading

2007-06-15 Thread Dennis Thrysøe
Dennis Lundberg wrote: Hi Diagnostics, that was introduced in Commons Logging 1.1, is a great way to troubleshoot classloading issues: http://jakarta.apache.org/commons/logging/troubleshooting.html#Using_JCL_Diagnostics I'm not really in doubt what's going on, so I don't think

commons-logging classloading

2007-06-14 Thread Dennis Thrysøe
Hello, I'm having trouble with commons-logging in a scenario where I am embedding tomcat's jasper in another servlet container. I keep getting the exception about commons-logging being available from multiple classloaders. This seeems to be caused by LogFactory using the ContextClassLoader

Re: commons-logging classloading

2007-06-14 Thread Dennis Lundberg
Hi Diagnostics, that was introduced in Commons Logging 1.1, is a great way to troubleshoot classloading issues: http://jakarta.apache.org/commons/logging/troubleshooting.html#Using_JCL_Diagnostics Dennis Thrysøe wrote: Hello, I'm having trouble with commons-logging in a scenario where I

Re: commons-logging classloading (continued)

2003-11-19 Thread robert burrell donkin
On 19 Nov 2003, at 18:25, Richard Sitze wrote: Regarding a pluggable LogFactory. It's already there. Unfortunately, it's behaviour isn't ideal... Log4J seems to have taken a pre-emenant place in the scheme of things. [That's been discussed before, forgive me for not digging up the details

RE: commons-logging classloading (continued)

2003-11-18 Thread Richard Sitze
to Craig :) - rami -Original Message- From: Norbert Klose [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 12:21 PM To: [EMAIL PROTECTED] Subject: commons-logging classloading (continued) Hello, i currently use Tomcat 4.1.27 bundled with commons-logging 1.0.3

Re: commons-logging classloading (continued)

2003-11-18 Thread Adam R. B. Jack
PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 12:51 PM Subject: RE: commons-logging classloading (continued) So, I'm coming into this a bit late and all, and I know a few others have been looking at this over the past few weeks... hope this does

Re: commons-logging classloading (continued)

2003-11-18 Thread robert burrell donkin
hi richard On 18 Nov 2003, at 19:51, Richard Sitze wrote: So, I'm coming into this a bit late and all, and I know a few others have been looking at this over the past few weeks... hope this does more than just add fuel to the fire. commons-discovery was created to address the classloader

Re: commons-logging classloading (continued)

2003-11-03 Thread Will Jaynes
Will Jaynes wrote: robert burrell donkin wrote: ... 2, a more sophisticated implementation for the loading of the LogFactory implementation that would try to load the class from the LogFactory class classloader if the assignment fails. since (at the moment) we throw an exception in this

Re: commons-logging classloading (continued)

2003-11-03 Thread Remy Maucherat
Will Jaynes wrote: Well, I submitted this as a bug and included a patch. But Remy immediately marked it as RESOLVED/WONTFIX. He doesn't really address my suggestion other than to say that c-l if used properly ... is well thought out, and works perfectly well I would never suggest that c-l is

commons-logging classloading (continued)

2003-10-30 Thread Norbert Klose
Hello, i currently use Tomcat 4.1.27 bundled with commons-logging 1.0.3. My own webapp i'm working on also uses commons-logging, so i include a copy of the jar file into the WEB-INF/lib directory to be protable to other servlet containers that does not include the commons-logging package. I

RE: commons-logging classloading (continued)

2003-10-30 Thread Ojares Rami EINT
] Sent: Thursday, October 30, 2003 12:21 PM To: [EMAIL PROTECTED] Subject: commons-logging classloading (continued) Hello, i currently use Tomcat 4.1.27 bundled with commons-logging 1.0.3. My own webapp i'm working on also uses commons-logging, so i include a copy of the jar file into the WEB-INF

RE: commons-logging classloading (continued)

2003-10-30 Thread Sean Zhong
classloader. (Hint to Craig :) - rami -Original Message- From: Norbert Klose [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 12:21 PM To: [EMAIL PROTECTED] Subject: commons-logging classloading (continued) Hello, i currently use Tomcat 4.1.27 bundled with commons

RE: commons-logging classloading

2003-10-14 Thread Ojares Rami EINT
be the default). - rami -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 1:18 AM To: Jakarta Commons Developers List Subject: Re: commons-logging classloading Will Jaynes wrote: Yoav, I, too, use log4j directly in my own classes. But we all

Re: commons-logging classloading

2003-10-14 Thread Craig R. McClanahan
:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 1:18 AM To: Jakarta Commons Developers List Subject: Re: commons-logging classloading Will Jaynes wrote: Yoav, I, too, use log4j directly in my own classes. But we all use components that use commons-logging, so we have to deal with it. No one

Re: commons-logging classloading

2003-10-14 Thread Will Jaynes
Craig R. McClanahan wrote: Ojares Rami EINT wrote: Craig, Would it be difficult to somehow parametrize the classloading in commons-logging. I just commented out small portion that resorts to thread classloader. To me it seems that it would be very trivial to give the user possibility to

Re: commons-logging classloading

2003-10-13 Thread robert burrell donkin
On Monday, October 13, 2003, at 12:42 PM, Will Jaynes wrote: snip No one has yet described for me a use case where the current commons-logging classloading strategy is necessary or even correct. Whereas I have described a use case where it clearly fails, and have implemented a code change

Re: commons-logging classloading

2003-10-13 Thread Todd Jonker
, October 13, 2003 03:14 PM To: 'Jakarta Commons Developers List' Subject: Re: commons-logging classloading Remy Maucherat wrote: Will Jaynes wrote: I was hoping some developers would weigh in on this issue. I expect that this has been discussed before, but I can't find any

Re: commons-logging classloading

2003-10-13 Thread Will Jaynes
Todd, With the jars configured as you describe, how do you configure different logging properties for each web app? Todd Jonker wrote: Will, what I suggest is placing c-l.jar in your server-level classpath, or in the JVM classpath... and **nowhere else**. If you have any custom Logs or

Re: commons-logging classloading

2003-10-13 Thread robert burrell donkin
what kind of properties? if you want to change the logging implementation then the stuff with the context classloader should mean that each web application should get it's own instance of the factory and each factory should use the classloader to load the commons-logging.properties file which

Re: commons-logging classloading

2003-10-13 Thread Craig R. McClanahan
Will Jaynes wrote: Yoav, I, too, use log4j directly in my own classes. But we all use components that use commons-logging, so we have to deal with it. No one has yet described for me a use case where the current commons-logging classloading strategy is necessary or even correct. Whereas I

Re: commons-logging classloading

2003-10-09 Thread Will Jaynes
Why does LogFactoryImpl in commons-logging try to load the Log implementation class first from thread classloader and then loader that loaded this class? Is there some kind of design pattern behind this? One very common :-) use case for commons-logging is inside web applications, where the

Re: commons-logging classloading

2003-10-09 Thread Todd Jonker
it to ignore the thread-context classloader. .T. -Original Message- From: Will Jaynes [mailto:[EMAIL PROTECTED] Sent: Thursday, October 9, 2003 03:02 PM To: [EMAIL PROTECTED] Subject: Re: commons-logging classloading Why does LogFactoryImpl in commons-logging try to load the Log

RE: commons-logging classloading

2003-09-12 Thread Ojares Rami EINT
Why does LogFactoryImpl in commons-logging try to load the Log implementation class first from thread classloader and then loader that loaded this class? Is there some kind of design pattern behind this? One very common :-) use case for commons-logging is inside web applications, where the

commons-logging classloading

2003-09-11 Thread Ojares Rami EINT
Why does LogFactoryImpl in commons-logging try to load the Log implementation class first from thread classloader and then loader that loaded this class? Is there some kind of design pattern behind this? - Rami Ojares / Elisa Internet -- Man Plans, God Laughs