Sanjiva Weerawarana 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?
>  
>
you mean if the module name is "foo" , then something like

nputStream fin = moduleClassLoader.getResourceAsStream("foo/services/"
+ servicename);

if that is the case it wont work . we have to come up with good name for the 
folder.

problem with name again :D


Sanjiva.

>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to