1 Reply Latest reply on Jul 17, 2006 11:29 AM by Peter Johnson

    libs within EAR are not recognized

    pinchy lobster Newbie

      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?
      at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:187)

      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.