Here's a manifest of one of my .ear files in which I bundle a couple of common non-ejb classes:
META-INF/MANIFEST.MF
lib/atoc-app2-common.jar
lib/atoc-app2-xcpt.jar
META-INF/application.xml
META-INF/orion-application.xml
atoc-app2-ejb.jar
atoc-app2-web.war
counter.jar
Hope that helps.
Hitesh
Matthew Domarotsky wrote:
Hello all,Does anyone know about deploying an ear file that contains ejb jars with
dependencies on a common non-ejb. For example, I have the following
situation below:ejb1.jar
ejb2.jar
common.jarBoth ejb1.jar and ejb2.jar depend on common.jar, which has no ejbs. The
problem comes when I deploy. How do I deploy the two ejb jars so they
can see common.jar. I just tried creating the directory META-INF/lib
and adding the common.jar there, but that didn't work. Any ideas.Thanks, Matt
