I've been trying to package up some libraries required by my EJB (MDB
actually) into my MDB's jar file and make a "Class-Path" entry in the
MANIFEST.MF to put those libraries into the classloader associated with
this EJB only.

My package (MyMDB.jar) basically looks like this:

MyMDB.class
/META-INF/MANIFEST.MF
/META-INF/ejb-jar.xml
/META-INF/jboss.xml
/META-INF/lib/libs.jar


The MANIFEST.MF contains a line that looks like this:

Class-Path:  META-INF/lib/libs.jar


The JBoss 3.2.1 deployer complains that it cannot find the META-INF
directory in the %JBOSS_HOME%/server/default/deploy directory.  This is not
surprising, since this is not where the jar file actually gets unpackaged
when deployed.

How do I package my libs and tell JBoss how to find them?


Cheers.
Steve Maring
Tarpon Springs, FL
_________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to