Hi, Can you check if pax-logging-api doesn't already provide the log4j2 api ?
Regards JB On 03/09/2015 11:41 AM, Prithviraj wrote:
Hi , We are using Karaf 3.2. We are using log4j2 , build 2.1 for logging . While installing log4j2 bundles we are getting below error installing log4j-api :- bundle:install -s mvn:org.apache.logging.log4j/log4j-api/2.1 Exception :- ERROR: Bundle org.apache.logging.log4j.api [272] EventDispatcher: Error during dispatch. (java.lang.IllegalMonitorStateException) Bundle ID: 273 java.lang.IllegalMonitorStateException installing bundle:install -s mvn:org.apache.logging.log4j/log4j-core/2.1 Exception :- ERROR: Bundle org.apache.logging.log4j.api [272] EventDispatcher: Error during dispatch. (java.lang.IllegalMonitorStateException) Bundle ID: 274 -- View this message in context: http://karaf.922171.n3.nabble.com/Error-while-installing-log4j2-api-on-Karaf-tp4038875.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
