I have an EAR in my JBOSS_HOME/server/default/deploy/ directory. In the root directory of this EAR there are 2 files located within /lib. When I attempt to deploy my EAR the following is shown in the log.
org.jboss.deployment.DeploymentException: url file:/C:/jboss/server/default/deploy/lib/<jar1>.jar could not be opened, does it exist?
The jar's get extracted into the tmp directory but for some reason the server expects them to be placed in the deploy directory under a lib folder? Does anyone know how I can make the Application Server point to the internal libs? I know that the Manifest.MF's Classpath for these files is relative:
Class-Path: lib/<jar_1>.jar lib/<jar_2>.jar
I have tried to deploy this EAR with both 4.0.2 and 3.2.8. There must be some config setting that I'm missing. Any help will be appreciated.
I don't use the Manifest.mf to locate the jars. Instead, I have them listed in the META-INF/application.xml file:
<application ...> <module> <java>lib/jar1.jar</java> </module> <module> <java>lib/jar2.jar</java> </module> ... </application>