L1 created. We'll look into this and fix this.

https://wso2.org/jira/browse/STRATOS-2057

AmilaM.

On Sat, May 26, 2012 at 12:37 PM, Afkham Azeez <[email protected]> wrote:

> Looks like this issue has been there in the trunk for quite some time.
> Most probably because the way service invocations have been tested is by
> logging in to the mgt console and then doing tryit. It is good that we
> merged the packs. Otherwise the lazy loading aspect may never get tested.
>
>
> On Sat, May 26, 2012 at 12:16 PM, Afkham Azeez <[email protected]> wrote:
>
>> This is happening because of a fundamental error in the Stratos
>> Throttling component. It is trying to access tenant information before the
>> tenant is loaded. This is an L1.
>>
>>
>> You can easily reproduce this by hosting a service within your tenant in
>> AppServer, restarting the appserver, and trying to directly invoke the
>> service without logging in first from the management console.
>>
>>
>>
>> On Sat, May 26, 2012 at 12:05 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> I have a BPEL process which invokes a service deployed on a tenant in
>>> AppServer. When that invocation hits the AppServer, the following exception
>>> occurs on the AppServer.
>>>
>>> [2012-05-26 12:02:16,475] @azeez.org [1] [Application Server]ERROR
>>> {org.apache.axis2.transport.http.AxisServlet} -
>>> java.lang.NullPointerException
>>> at
>>> org.wso2.carbon.throttling.agent.listeners.ServiceRequestListener.invoke(
>>> *ServiceRequestListener.java:64*)
>>>  at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>>>  at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>>>  at
>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>> at
>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
>>>  at
>>> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:205)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
>>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>**
>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Amila Maharachchi*
Technical Lead
Member, Management Committee - Cloud & Platform TG
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to