Ok, I'll look into that..

Thanks,
~Isuru

On Tue, Oct 11, 2011 at 8:50 AM, Amila Suriarachchi <am...@wso2.com> wrote:

>
>
> On Mon, Oct 10, 2011 at 10:42 AM, Isuru Suriarachchi <is...@wso2.com>wrote:
>
>> Hi all,
>>
>> Looks like the recent module changes are causing a NPE when trying to
>> engage a module for a fresh service. I tried this on Stratos 1.5.2.
>>
>> How to reproduce..
>> 1. Log into a tenant
>> 2. Upload a fresh service
>> 3. Try to engage a module (Throttling, Caching, Security etc.) from the UI
>>
>> This doesn't happen if I try to do it after invoking the service once. I
>> think this is because the modules are only loaded into the AxisConfig when
>> the first request comes in. Amila, can you please fix this?
>>
>
> yes there are some issues with the new improvement.
>
> We need to fix this with the service deployment.
>
> When a service get deployed for the first time, since we don't know the
> service details it has to load all the modules (if not loaded) and deploy
> the service at the Ghost deployer level. (service already may engaged those
> modules) see the MTMR to how to do that.
>
> Then need to persists the engaged module details and load the modules at
> the MTMR level if someone try to invoke the service at the second time.
>
> Then need to fix at the module management service level as well. If some
> one invokes the module management UI (like in service management UI) then
> again need to load all the modules.
>
> Can you please add those features? I am in the support week and need to
> prepare for an on site work.
>
> thanks,
> Amila.
>
>>
>> Thanks,
>> ~Isuru
>>
>> --
>> Isuru Suriarachchi
>> Technical Lead & Product Manager, WSO2 Application Server
>> WSO2 Inc. http://wso2.com
>> email : is...@wso2.com
>> blog : http://isurues.wordpress.com/
>>
>> lean . enterprise . middleware
>>
>>
>


-- 
Isuru Suriarachchi
Technical Lead & Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to