Well yes, I was under the impression that this should work. However reading
some of the comments in the manual makes me suspect otherwise. It talks only
about specifying classpath info in the ejb-jars' and web-wars' Manifest
files. Makes me wonder though. I think it would be a handy feature though to
specify some classpath info in the ear's Manifest.

>>Hi,

>>Are you saying that this should work:

>>Contents of ear:

>>META-INF/MANIFEST.MF
>>META-INF/application.xml
>>myweb.war
>>myejb.jar
>>mylib.jar

>>Where MANIFEST contains:

>>Class-Path: ./mylib.jar;

>>and that you are now able to see the classes in mylib.jar from the
myejb.jar??

>>I cant get it to work :-( any ideas???
>>Can someone verify if it should work?

>>Thanks...

>>^terp



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Philipp
Meier
Sent: Wednesday, July 18, 2001 2:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] ear file manifest classpath problem ?


On Wed, Jul 18, 2001 at 01:40:52PM +0200, Unico Hommes wrote:
> I am trying to set a classpath environment variable in my ear file's
> Manifest.mf like so :
>
> Class-Path: ejbutils-client.jar
>
> here's the directory structure of my ear:
>
> meta-inf/manifest.mf
  ^^^^^^^^^^^^^^^^^^^^ This should be all uppercase: META-INF/MANIFEST.MF

> meta-inf/application.xml
> myweb.war
> myejb.jar
> ejbutils-client.jar
>
> I am getting a class not found exception on my ejb for one of the classes
> that are in the ejbutils-client.jar
>
> Is there a problem with this kind of classpath declaration. Am I doing
> something wrong ?

Works for me...

--
Philipp Meier                              o-matic GmbH
Gesch�ftsf�hrer                  Pfarrer-Wei�-Weg 16-18
Tel.: +49-(0)700-66284236                     89077 Ulm



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to