I was just looking
through the source in the Installer.java file and came across the same
conclusion!
The problem is the manifests that are inspected are in
the war and jar files, not the ear files.
Thanks for the
response!
jim
To: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
cc:
Subject: RE:
[JBoss-dev] Bug: Ear deployment - Support Classes
Hi,
> -----Original Message-----
>
From: James Cook [mailto:[EMAIL PROTECTED]]
>
> According to the
following documentation, jBoss includes the
> ability to deploy
>
library archives in an ear file.
>
> http://www.jboss.org/documentation/HTML/ch10s71.html#N37d7
>
> "On deployment one - common - classloader is created. This
>
classloader will get
> all archives in its classpath that are referenced
> (MANIFEST.MF/Class-Path)by any
> module contained in this
application."
>
> This does not appear to work. jBoss appears to
ignore any
> classes that I
> reference in the manifest and I get
ClassNotFoundExceptions.
>
2 problems I found with this
were;
.. you need to have a newline after the class-path entry in the
manifest -
otherwise the jarfile classes in the jdk do not return your
class-path entry
- so jboss never sees it.
.. the manifest entry needs
to be in the ejb's jar - not in the ear jar.
Hope this
helps,
Chris
================================================================================================
This
electronic message (email) and any attachments to it are subject to copyright
and are sent for the personal attention of the addressee. Although you may be
the named recipient, it may become apparent that this email and its contents are
not intended for you and an addressing error has been made. This email may
include information that is legally privileged and exempt from disclosure. If
you have received this email in error, please advise us immediately and delete
this email and any attachments from your computer system.Rabobank International
is the trading name of Co�peratieve Centrale Raiffeisen-Boerenleenbank B.A.
which is incorporated in the Netherlands. Registered with the Registrar of
Companies for England & Wales No. BR002630 and regulated by the SFA for the
conduct of investment business in the UK.
The presence of this footnote
also confirms that this email has been automatically checked by Rabobank
International for the presence of computer viruses prior to it being sent,
however, no guarantee is given or implied that this email is virus free upon
delivery.
_______________________________________________
Jboss-development
mailing
list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development
- [JBoss-dev] Bug: Ear deployment - Support Classes James Cook
- RE: [JBoss-dev] Bug: Ear deployment - Support Class... Kimpton,C (Chris)
- James Cook
