Thank you for your rapid feedback! Are you saying if I deploy the two war files separately I can call between the two as they share a common class loader?
Would I have to use module_id's and group_id's to identify the dependency that webstore.war depends on the bsl.war? As in Tomasz's response? I may still add a jira for you to prioritise :-) thanks -pieter djencks wrote: > > > 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. > > thanks > david jencks > >> >> 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. >> > > > -- View this message in context: http://www.nabble.com/classloading-within-an-EAR-file-problem-tf4490585s134.html#a12822833 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
