PF OSGI - 2006-06-20

I am implementing Log4j as an OSGI service  by registering the bundle as a service. Other agents/bundles invoke this Logging service. If I put Log4j in the classpath for both the logging service as well as the external bundle I get a Logging loading violation error.

In case I export the Log4j in the OSGI container and have the service and other bundles just import it I need to export other 3rd party libraries like xstream, apache jars like comoons pool, etc.

Has anyone else encountered a similar scenario?

Please advise