Hi,
I built an EAR (on WebLogic) that contains 2 session EJB which share
some common Java classes (utility methods for example).
I made a .jar with the .class of the common classes and I put it in
directory META-INF/lib of the EAR.
For the EJB to find the common library, I added the following line in
the MANIFEST.MF of the .jar of the EAR :
Class-Path: META-INF/lib
But when deploying on WebLogic, the EJB cannot find the common classes.
What goes wrong ?
I tried to put the .class directly in the EJB (duplicating the shared
classes) but it did not work.
I also tried to modify the MANIFEST.MF of the .jar of the EJB but it did
not work neither.
Thanks for your help.
Marc
I built an EAR (on WebLogic) that contains 2 session EJB which share
some common Java classes (utility methods for example).
I made a .jar with the .class of the common classes and I put it in
directory META-INF/lib of the EAR.
For the EJB to find the common library, I added the following line in
the MANIFEST.MF of the .jar of the EAR :
Class-Path: META-INF/lib
But when deploying on WebLogic, the EJB cannot find the common classes.
What goes wrong ?
I tried to put the .class directly in the EJB (duplicating the shared
classes) but it did not work.
I also tried to modify the MANIFEST.MF of the .jar of the EJB but it did
not work neither.
Thanks for your help.
Marc
Comment