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 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.
Previous Topic:Winstone-Osgi DEBUG
Next Topic:Apache Felix - Spring DM server - Eclipse IDE
Goto Forum:
  


Current Time: Tue Sep 23 00:32:18 GMT 2014

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

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