| Class not found in Log4j configuration [message #1112981] |
Fri, 20 September 2013 09:16 |
Uri Shani 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.
|
|
|
Powered by
FUDForum. Page generated in 2.12661 seconds