https://issues.apache.org/bugzilla/show_bug.cgi?id=43282

--- Comment #12 from Craig Ziesman <[email protected]> 2010-08-05 
16:11:42 EDT ---
My team has created an OSGi friendly version of Log4j. Unfortunately, it's not
as simple as adding the right headers to the manifest because there are
classloader issues when using custom layouts or appenders.

Fortunately, the fixes were not too hard. The Loader.loadClass() method in
org.apache.log4j.helpers had to be updated to use a bundle context class
loader, if available, and a bundle activator class had to be created to provide
access to the bundle context class loader.

We used the BND tool to generate the bundle with the appropriate manifest
entries.

I have attached the modified/new files for your review.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to