Hi Filippo,
         
            I am sorry for so late reply. Actually I had to park this task
for something more important. But now when I try, I am following the blog 
http://nierbeck.de/cgi-bin/weblog_basic/index.php?p=201
http://nierbeck.de/cgi-bin/weblog_basic/index.php?p=201  This is in
accordance to what you suggested. But I am getting the following ERROR

ERROR: Bundle org.ops4j.pax.logging.pax-logging-service [6] Error starting
mvn:org.ops4j.pax.logging/pax-logging-service/1.6.3
(org.osgi.framework.BundleException: A
ctivator start error in bundle org.ops4j.pax.logging.pax-logging-service
[6].)
java.lang.NoClassDefFoundError: org/apache/log4j/PaxLoggingConfigurator
        at
org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.configureDefaults(PaxLoggingServiceImpl.java:251)
        at
org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.<init>(PaxLoggingServiceImpl.java:61)
        at
org.ops4j.pax.logging.service.internal.Activator.start(Activator.java:108)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1759)
        at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException:
org.apache.log4j.PaxLoggingConfigurator not found by
org.ops4j.pax.logging.pax-logging-api [7]
        at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)
        at
org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
        at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at
org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)
        at
org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99)
        at
org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1390)
        at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:722)
        at
org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
        at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 9 more

The pax-logging-service itself isnt coming up.. 


Filippo Balicchia wrote
> 
> When the framework resolves a bundle, it searches the installed 
> bundles to see if there 
> are any fragments for it. 
> said this, removes the bundle activator, platform import pakage ecc.ecc. 
> 
> If you still have problems tell me that i send you an axample 
> 
> cheers 
> 
> -Filippo 
> 

Can you please share a sample example.. 

Regards,
Shripati 

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/ServiceMix4-4-Custom-RollingFileAppender-and-Layout-help-tp5713390p5713621.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to