Just to clarify, you used the manifest.mf as input to the jar command
right? Also note that you have Class-path versus Class-Path in your
example, not sure if that is case sensitive or not. Finally, did you
remove AdminClient.jar from the bin folder to see that it worked in that
instance?

-----Original Message-----
From: nagulapati [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 9:59 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] [EJB/JBoss] - deploying EAR files


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

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

Hello All,



I deployed an EAR file in JBoss and here is the directory structure....



----------META-INF/

----------META-INF/manifest.mf

----------META-INF/application.xml

----------lib/

----------lib/AdminClient.jar

----------ejb-app.jar



ejb-app-jar contains the artifacts for EJB and AdminClient.jar is jar
package containing the dependent classes which are used by the EJB bean



In my manifest.mf I added the "Class-Path" line as follows,



Class-path: ./lib/AdminClient.jar



My question is when I deployed the ear package in the "deploy" directory
of JBoss, the classloader is trying to locate the AdminClient.jar file
from the "deploy/bin" directory in the JBoss and not in the "lib"
directory inside the EAR package. 



What am I doing wrong here? Any pointers? I would like the classloader
to locate the classes inside the lib directory in EAR package. I also
tried replacing the classpath line without "." but in vain.



Thanks in advance,

Vivek


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the
breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to