Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » OSGi Enterprise Tools » Class not found in Log4j configuration(Existing local class is not loaded by the Log4j configuration)
Class not found in Log4j configuration [message #1112981] Fri, 20 September 2013 13:16
Uri Shani is currently offline Uri ShaniFriend
Messages: 18
Registered: July 2009
Junior Member
I initialize log4j within my bundle in which it is configured to use additional classes as appender and layout. I try a Class.forName() call which succeeds, yet the log4j PropertyConfigurator.configure() fails with ClassNotFound exception for these classes.

The same initialization works, where the code is located in the bin/ folder compiled from its sources. Yet, this error is reported when the bundle is configured with the code in a jar file, listed in the runtime classpath of the bundle.

Any idea how to get over this problem?

osgi.framework.version=3.5.2.R35x_v20100126, java 1.5, windows7.
Previous Topic:Winstone-Osgi DEBUG
Next Topic:How to setup Equinox properly
Goto Forum:

Current Time: Mon Dec 11 04:21:43 GMT 2023

Powered by FUDForum. Page generated in 0.02034 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top