This has been fixed by now. Please test and let me know if you found any
further issues.

Thanks !


On Fri, Apr 25, 2014 at 5:51 PM, Nuwan Wimalasekara <[email protected]> wrote:

> Hi
> Sagara and me did go through all the commits and found the commit[1]
> which leads to cause the above issue.  Please fix the issue.
>
> [1]
> https://github.com/wso2/wso2-axis2/commit/6292326a39d06deb1ede944afd3e1a6b77621a33
>
> Thanks,
> Nuwanw
>
>
>
> On Fri, Apr 25, 2014 at 3:32 PM, Nuwan Wimalasekara <[email protected]>wrote:
>
>> Hi Sagara
>>
>>
>>
>> On Fri, Apr 25, 2014 at 12:23 AM, Sagara Gunathunga <[email protected]>wrote:
>>
>>>
>>>
>>>
>>> On Thu, Apr 24, 2014 at 8:41 PM, Nuwan Wimalasekara <[email protected]>wrote:
>>>
>>>> Hi,
>>>> Once multiple services are deployed in axis2 server shifted with
>>>> wso2esb, It can not serve the requests for all services. It can only
>>>> serve the one service which is initialized first. Then other services can
>>>> not be invoked.
>>>>
>>>> @ESB Team
>>>> I am getting this issue when running the integration test as well and
>>>> some of test are getting failed. Can you please have a look into this
>>>> issue.
>>>>
>>>
>>> 1. Can please build Axis2  locally [1] and  repeat same  tests ?
>>>
>> I built axis2[1] locally and issue can be simply reproduced on axis2
>> distribution as well.
>>
>>>
>>> 2. Did you try same test with AS 5.3.0 M1 pack ?
>>>
>>> [1] -
>>> https://github.com/wso2/wso2-axis2/tree/master/modules/distribution
>>>
>>> Thanks !
>>>
>>
>> Thanks,
>> Nuwanw
>>
>>>
>>>
>>>>
>>>>
>>>> [1] https://wso2.org/jira/browse/ESBJAVA-3106
>>>>
>>>> STEPS
>>>> 1) Deploy two axis2 services. (SimpleStockQuoteService1 and
>>>> SimpleStockQuoteService2)
>>>> 2) Invoke the SimpleStockQuoteService1 service.
>>>> Then it will work fine.
>>>> 3) Invoke the SimpleStockQuoteService2.
>>>> Then bellow exception is observed in axis2 backend and AxisFault is
>>>> received as the response.
>>>> "org.apache.axis2.AxisFault: object is not an instance of declaring
>>>> class"
>>>>
>>>> 14/04/24 20:15:27 ERROR receivers.RPCMessageReceiver: object is not an
>>>> instance of declaring class
>>>> java.lang.IllegalArgumentException: object is not an instance of
>>>> declaring class
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>> NativeMethodAccessorImpl.java:39)
>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>> DelegatingMethodAccessorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> atorg.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:496)
>>>> atorg.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:846)
>>>> at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(
>>>> BeanUtil.java:765)
>>>> atorg.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:674)
>>>> atorg.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:153)
>>>> at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(
>>>> RPCUtil.java:206)
>>>> at org.apache.axis2.rpc.receivers.RPCMessageReceiver.
>>>> invokeBusinessLogic(RPCMessageReceiver.java:117)
>>>> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.
>>>> invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>>> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(
>>>> AbstractMessageReceiver.java:110)
>>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>> atorg.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>>> atorg.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:459)
>>>> at org.apache.synapse.transport.nhttp.ServerWorker.run(
>>>> ServerWorker.java:279)
>>>> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(
>>>> NativeWorkerPool.java:172)
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>>>> ThreadPoolExecutor.java:886)
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>>> ThreadPoolExecutor.java:908)
>>>> at java.lang.Thread.run(Thread.java:662)
>>>> 14/04/24 20:15:27 ERROR nhttp.ServerWorker: Error processing POST
>>>> request
>>>> org.apache.axis2.AxisFault: object is not an instance of declaring
>>>> class
>>>> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>>>> at org.apache.axis2.rpc.receivers.RPCMessageReceiver.
>>>> invokeBusinessLogic(RPCMessageReceiver.java:211)
>>>> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.
>>>> invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>>> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(
>>>> AbstractMessageReceiver.java:110)
>>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>> atorg.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>>> atorg.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:459)
>>>> at org.apache.synapse.transport.nhttp.ServerWorker.run(
>>>> ServerWorker.java:279)
>>>> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(
>>>> NativeWorkerPool.java:172)
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>>>> ThreadPoolExecutor.java:886)
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>>> ThreadPoolExecutor.java:908)
>>>> at java.lang.Thread.run(Thread.java:662)
>>>> Caused by: java.lang.IllegalArgumentException: object is not an
>>>> instance of declaring class
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>> NativeMethodAccessorImpl.java:39)
>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>> DelegatingMethodAccessorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> atorg.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:496)
>>>> atorg.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:846)
>>>> at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(
>>>> BeanUtil.java:765)
>>>> atorg.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:674)
>>>> atorg.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:153)
>>>> at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(
>>>> RPCUtil.java:206)
>>>> at org.apache.axis2.rpc.receivers.RPCMessageReceiver.
>>>> invokeBusinessLogic(RPCMessageReceiver.java:117)
>>>> ... 10 more
>>>> \
>>>> Thanks,
>>>> Nuwanw
>>>> --
>>>> Nuwan Wimalasekara
>>>> Senior Software Engineer - Test Automation
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> phone: +94 71 668 4620
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Sagara Gunathunga
>>>
>>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>>> V.P Apache Web Services;    http://ws.apache.org/
>>> Linkedin; http://www.linkedin.com/in/ssagara
>>> Blog ;  http://ssagara.blogspot.com
>>>
>>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>


-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;    http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to