geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Mazan <win...@wp.pl>
Subject Re: classloading within an EAR file problem
Date Fri, 21 Sep 2007 07:57:12 GMT


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.

Beniamin
-- 
View this message in context: http://www.nabble.com/classloading-within-an-EAR-file-problem-tf4490585s134.html#a12812395
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message