geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: classloading within an EAR file problem
Date Fri, 21 Sep 2007 11:57:56 GMT

On Sep 21, 2007, at 3:57 AM, Tomasz Mazan wrote:

> djencks wrote:
>> Despite Tomasz's optimism I don't think you can do this.  In geronimo
>> the rars and ejb jars in an ear get put in one classloader and each
>> web-app gets put in another classloader.  The ear classloader is a
>> parent of every war classloader.  The problem is that the war
>> classloaders don't get publically accessible names that you could use
>> in the dependencies section to make one a parent of another.
>> I'm afraid your best bet in geronimo is to put the shared classes
>> into a jar in the ear's lib directory.  I would not object in the
>> least if you raised a jira for this issue but I doubt I personally
>> will be able to work on it very soon.
>> thanks
>> david jencks
> David, thanks for Your explanation and sorry I was misleading. I  
> was almost
> sure that dependencies between war's are similar to jars. Sorry again.

No problem, the difference is that the wars are all inside one ear.   
If they were separately deployed wars there would be no problem  
having them depend on each other.

david jencks

> Beniamin
> -- 
> View this message in context: 
> within-an-EAR-file-problem-tf4490585s134.html#a12812395
> Sent from the Apache Geronimo - Users mailing list archive at  

View raw message