Posted by wizwoz
on February 17, 2006 at 11:15 AM PST
I have an ejb.jar inside an ear file which has dependencies to a number of jar files. My understanding of how to deal with this is to put "Class-Path: myJAR.jar..." in the MANIFEST.MF file in the META-INF folder of "myEJB.jar" and deploy like this:
My application.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
However, JBoss 4.0.3SP1 deployment tries to deploy "myJAR.jar" even though it is not in the application.xml, and the ejb still cannot find the classes in the myJAR.jar anyway.
So, how *should* the files on which an EJB is dependent at runtime be placed and configured in an ear file?