geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf Bergner <>
Subject Suggestion to improve packaging of ejb-jars
Date Wed, 18 Mar 2009 21:33:50 GMT

I have several ejb-jar packaged inside an ear. Libraries to be shared between
some or all of these ejb-jars are placed inside the encompassing ear's "lib"
directory, as decreed by the standard. Some libraries, however, are local to
the using ejb-jar, i.e. they don't need to be shared.

I tried to package these libraries inside the using ejb-jar, creating
appropriate Class-Path entries in that ejb-jar's manifest file. This,
however, leads to a deployment error as obviously the Class-Path entries in
the ejb-jar's manifest file are resolved relative to the enclosing ear and
are therefore not found.

Suggestion: make Geronimo resolve those dependencies relative to the ejb-jar
declaring them. Same goes for rars.

What do you think?

View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message