This content has been marked as final.
Show 2 replies
-
1. Re: log4j not in OSGI bundle path
njiang Feb 1, 2010 7:55 PM (in response to gvanstad)Are you using ServiceMix 4 as the OSGi platform?
If so it supports the log4j out of box by leverage PAX log.
If not, you need to check if the log4j bundle is installed.
-
2. Re: log4j not in OSGI bundle path
gvanstad Feb 2, 2010 8:04 AM (in response to njiang)Yes, I'm using Fuse ESB 4 as my OSGI container, but it appears as if only a subset of the log4j framework is available in the classpath.
referencing "org.apache.log4j.Logger" resolves fine,
but
referencing "org.apache.log4j.LogManager"
results in
java.lang.NoClassDefFoundError: Lorg/apache/log4j/LogManager;
Here's my Pom.xml entry: