[jboss-user] [JBoss OSGi] - using log4j

cuthbe do-not-reply at jboss.com
Wed Jun 10 15:58:16 EDT 2009


All

If I wanted to use log4j I have the following statement in my bundle manifest

<attribute name="Import-Package" value="org.osgi.framework;version=1.3.0,
											    org.apache.log4j,

And I have placed the log4j in the lib directory so it is in the classpath on startup. But my bundle still does not load it.

Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory


Is there a set way to deploy thirdparty jars ?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236822#4236822

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236822



More information about the jboss-user mailing list