I am facing problem in deploying my ear file.
Following is the structure of my ear file
Follwoing is the content for my Manifest.mf for MYWEB.war
Created-By: 1.4.2_06 (Sun Microsystems Inc.)
and follwoing is the content for my Manifest.mf for MYEJB.jar
Created-By: Oracle JDeveloper 10g 10.1.2
When I try to deploy this file, i gets the following error message
error instantiating application 'MyEAR' at file:
Error initializing ejb-module;
Exception Error loading class 'common.loginejb.LoginSessionBean': java.lang.NoClassDefFoundError: org/apache/log4j/Logger
I am using oracle10g AS for deploying my ear file.
My requirement is that I've to pack this log4j-1.2.9.jar file in the ear file itself. I cannot put it in applib folder or any other folder in the class-path.
Since as far as I know according to J2EE specification, if I put the class-path entry in META-INF/manifest.mf file, then EJBJAR file should pick that.
Please suggest where I am wrong.