[jboss-user] [JBoss Getting Started Documentation] - libs within EAR are not recognized

pinchyTheLobster do-not-reply at jboss.com
Sun Jul 16 11:45:18 EDT 2006


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.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958330#3958330

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958330



More information about the jboss-user mailing list