I'd like to understand why my proposed solution doesn't work first
before taking a second choice solution ...
Sanjiva.
On Wed, 2006-06-28 at 18:01 +0530, Deepal Jayasinghe wrote:
> +1
>
>
> Davanum Srinivas wrote:
>
> > or even "module-services" and "module-services.list"
> >
> > -- dims
> >
> > On 6/28/06, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote:
> >
> >> Hi Deepal,
> >>
> >> I *hate* "aars" :( .. uglier than hell!
> >>
> >> > That is what we had yesterday :) , but it causes problems in war
> >> > distribution.
> >> > The problem is this;
> >> > When ever we show a module (at the deployment time) , get its class
> >> > loader and try to invoke the following
> >> > ClassLoader cl = module.getModuleClassLoader();
> >> > InputStream fin =
> >> moduleClassLoader.getResourceAsStream("services/"
> >> > + servicename);
> >> >
> >> > So in war case since we have services directory and services.list file
> >> > in it , the inputstream is not null in all the cases (b'coz parent
> >> class
> >> > loader has the request resources). So when I deploy axis2.war into
> >> > tomcat it failed today.
> >>
> >> Why can't you prefix the module name to this code and avoid the problem?
> >>
> >> Sanjiva.
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]