I'm using OC4J 9.0.2 on Win2k.

I am trying to use log4j from my EJB classes. I thought I had to do the
following to get the classes to load:

1. Store "log4j-1.2.3.jar" at the root of my ejb-jar file.
2. Store a MANIFEST.MF file in "META-INF" with an entry like the following:

Class-Path: log4j-1.2.3.jar

When I deploy the EAR, however, I get an error like this:

Error in application Felix: Error loading package at
file:/C:/oc4j/j2ee/home/applications/felix/felix-ejb.jar, Error loading
class 'com.attws.it.bsa.felix.ejb.session.UserManagerBean':
java.lang.NoClassDefFoundError: org/apache/log4j/Category

Is there something else that I'm missing?

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to