Developers List commons-dev@jakarta.
apache.org
06/06/2002 04:54 cc:
PM Subject: RE: Logging: more
classloader problems.
Please respond
The problem: it won't work if commons-logging.jar is installed in the
parent class loader, and log4j.jar ( or another logger ) is installed in
a child loader ( like WEB-INF/lib ).
What happens:
- the factory uses the thread class loader to check if the log4j (
or any other impl. ) exists (
On 6/6/02 2:08 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Solution:
Split commons-logging.jar in commons-logging-api.jar ( only the API and
the LogFactoryImpl, no adapteer ) and commons-logging-impl.jar.
:)
--
Geir Magnusson Jr.
Research Development, Adeptra Inc.
[EMAIL PROTECTED]
On Thu, 6 Jun 2002, Geir Magnusson Jr. wrote:
On 6/6/02 2:08 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Solution:
Split commons-logging.jar in commons-logging-api.jar ( only the API and
the LogFactoryImpl, no adapteer ) and commons-logging-impl.jar.
:)
If you knew that
On 6/6/02 3:18 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Thu, 6 Jun 2002, Geir Magnusson Jr. wrote:
On 6/6/02 2:08 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Solution:
Split commons-logging.jar in commons-logging-api.jar ( only the API and
the LogFactoryImpl, no adapteer )
On Thu, 6 Jun 2002, Geir Magnusson Jr. wrote:
I wanted to split out the factory impl from the api jar for other reasons,
feeling that the clean break between API and impl was good, but wondered
about the classloader implications.
Of course, I didnĀ¹t realize it would break tomcat. I would
On 6/6/02 3:47 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Thu, 6 Jun 2002, Geir Magnusson Jr. wrote:
Actually the default logger ( used if no 'real' logger is found )
and the JDK1.4 adapter will have to remain in the main jar ( unless
we want to support an alternate impl. for JDK1.4
]
To: Jakarta Commons Developers List [EMAIL PROTECTED]
06/06/2002 01:08
cc: List Tomcat-Dev [EMAIL PROTECTED] PM
Subject: Logging: more classloader problems.
Please respond to Jakarta Commons Developers List
The problem: it won't work if commons-logging.jar is installed in the
parent class
+1to getting my permissions fixed, as a new committer, so that I can
check changes in before you do a dot-release!
Thanks :-)
ras
***
Richard A. Sitze[EMAIL PROTECTED]
On Thu, 6 Jun 2002 [EMAIL PROTECTED] wrote:
Date: Thu, 6 Jun 2002 11:08:10 -0700 (PDT)
From: [EMAIL PROTECTED]
Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED]
To: Jakarta Commons Developers List [EMAIL PROTECTED]
Cc: List Tomcat-Dev [EMAIL PROTECTED]
Subject: Logging: more
10 matches
Mail list logo