axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjiva Weerawarana <sanj...@opensource.lk>
Subject Re: Axis2 - new feature module adding services
Date Wed, 28 Jun 2006 11:07:52 GMT
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-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message