Re: NoClassDefFoundError: org/apache/log4j/Layout

2014-06-26 Thread loky
Hi, Finally I have recompile the org.apache.log4j library in XXX.apache.log4j , bundle it and modify my import in org.apache.log4j library to XXX.apache.log4j. And now it works. I am sure that it is not the cleanest solution but I have lost too many time with it ... If any one has one day a b

Re: NoClassDefFoundError: org/apache/log4j/Layout

2014-06-26 Thread loky
#x27;t available. > Take a look at the pax-loggin-api bundle and it's exports there you'll > find all packages available to you for usage. > If you want to have a custom Logger, you'll need to add it to the service > bundle as described in the various samples given by me a

Re: NoClassDefFoundError: org/apache/log4j/Layout

2014-06-25 Thread loky
Thanks jbonofre and Achim for helping me :) jbonofre wrote > latest section: "Custom appenders". > jbonofre > Pax Logging provides log4j 1.2.15. Indeed ! I have plugged it with the 1.2.15 but I still have the problem. I have checked the latest section of http://karaf.apache.org/manual/lates

Re: NoClassDefFoundError: org/apache/log4j/Layout

2014-06-25 Thread loky
I have try to find a workaround with log4J, but nothing works, any idea ? -- View this message in context: http://karaf.922171.n3.nabble.com/NoClassDefFoundError-org-apache-log4j-Layout-tp4033773p4033778.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: NoClassDefFoundError: org/apache/log4j/Layout

2014-06-25 Thread loky
I have exclude log4j dependancy in my maven project and insert org.ops4j.pax.logging reference. org.ops4j.pax.logging pax-logging-api 1.7.2

NoClassDefFoundError: org/apache/log4j/Layout

2014-06-25 Thread loky
Hey ! I have a problem with karaf (packaged in fuse esb version 6.1.0) I am in a camel / spring / maven / jboss fuse / karaf environnement I have a bundle which use log4j like this : [...] import org.apache.log4j.*; [...] Logger classlogger = Logger.getLogger("LoggerWrapper"); I