axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: Axis2 - new feature module adding services
Date Wed, 28 Jun 2006 12:31:00 GMT
 +1


Davanum Srinivas wrote:

> or even "module-services" and "module-services.list"
>
> -- dims
>
> On 6/28/06, Sanjiva Weerawarana <sanjiva@opensource.lk> 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: axis-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-dev-help@ws.apache.org
>>
>>
>
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message