Thanks, I ended up using Pax Logging and it works great. It even finds my log4j.xml in the config directory. I put that directory in the Classpath before I started Felix. I was wondering if it would find it.

-Pete

On Mon, 06 Apr 2009 21:45:40 -0700, Stuart McCulloch <[email protected]> wrote:

2009/4/7 <[email protected]>

Hi Neil,
 Thanks for the post. Now, should I add this to the Log4j bundle of the
bundle I am using Log4j?


you should add the import to any bundles using Log4j - if you use bnd or the
bundleplugin
(or even mangen) to generate your manifests then this would be done
automatically for you

Thanks

-Pete

---- Neil Bartlett <[email protected]> wrote:

=============
You need to add this package to your Import-Package declaration.

Regards
Neil

On Mon, Apr 6, 2009 at 9:49 AM, Pete Haidinyak <[email protected]> wrote:
> Howdy,
>        I am trying to get Log4j running on my embedded Felix. I loaded
the
> Log4j bundle and when my class tries to create a Logger I get the
following
> exception...
>
> java.lang.NoClassDefFoundError: org/w3c/dom/Node
>
> From what I understand this class should be part for the JRE and
available
> to the logger.
>
> Any ideas?
>
> Thanks
>
> -Pete






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

Reply via email to