log4j - EJB cannot locate the log 4j in the classpath -


on 6.1, have ejb deployed in ear , ejb uses log4j. getting error while trying call ejb through remote client:

caused by: java.lang.noclassdeffounderror: org.apache.log4j.priority     @ java.lang.j9vminternals.verifyimpl(native method)     @ java.lang.j9vminternals.verify(j9vminternals.java:69)     @ java.lang.j9vminternals.initialize(j9vminternals.java:131)     @ com.bmo.olbb.prs.integration.service.util.prsutil.<clinit>(prsutil.java:13)     @ java.lang.j9vminternals.initializeimpl(native method)     @ java.lang.j9vminternals.initialize(j9vminternals.java:196)     ... 10 more caused by: java.lang.classnotfoundexception: org.apache.log4j.priority 

inside installedapps directroy, in ear folder, have ejb jar , log4j-1.2.15.jar. why getting this? otehr thing how can classnotfoundexception , noclassdeffounderror @ same time?

did add log4j jar ejb jar's meta-inf/manifest.mf file?

manifest-version: 1.0 class-path: log4j-1.2.15.jar 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -