Laurent,
yep, the reason why I ve posted a couple of days ago.
There is no reason to check the ears manifest file the manifest files of
the contained ejb/war packages are the ones that be checked. Since the
entries in the manifest classpath refer to packages relative to the
current package, a entry in the ear files manifest could never point to
a package inside the ear file.
\Daniel
-----8<------REPOST---------8<----------------------
Hi Folks,
maybe I was not clear enough in the HowTo with this MANIFEST.MF
Class-Path stuff...
> I try to deploy an ear file with JBoss. This ear has this structure :
>
> META-INF/MANIFEST.MF
> META-INF/application.xml
> rapids-ejb.jar -> All EJBs
> rapids-web.war -> war file
> conf/some_files -> configuration files (User by EJBs and WAR)
> lib/rapids-javabeans.jar ->
> lib/rapids-security.jar --> some additionals libs used by EJBs and WAR
> lib/some_others.jar -->
seems to be OK.
> Manifest-Version: 1.0
> Class-Path: lib/rapids-ejb-util.jar lib/rapids-javabeans.jar
> lib/rapids-jmatlab.jar lib/rapids-security.jar lib/rapids-util.jar conf/
Well the syntax could lead into trouble!? I had some problems when using
lib/file instead of ./lib/file.
But much more importend is: In which MANIFEST.MF to put that:
Since the entries in the Class-Path tag of manifest files are ment as
_relative_ to the manifests jar file, these entries have to be placed in
one of the ejb or war packages. NOT into the .ear files manifest (this
would mean you re looking for packages outside the .ear file (relative)
which violates the .ear idea (a complete application with all libs and
stuff that is needed in _one_ package).
Class-Path entries in the .ear files manifest are ignored - place them
into the ejb or war packages!
During deployment you will see then messages like this:
...
[J2EE Deployer Tomcat] Added ./client.jar to common classpath
...
If you dont see this messages (could be a "Could not add" message too),
then you didnt place the entries right.
HTH
\Daniel
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]