[ 
https://issues.apache.org/jira/browse/SYNAPSE-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Asankha C. Perera resolved SYNAPSE-132.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1
         Assignee: Asankha C. Perera

configContext.terminate();

the above statement was used on recommendation by Chamikara as I remember for 
clean termination of WS-RM, but since using Axis2 1.3 - this causes some 
unexpected classloading issue on the Axis2 server side - which cannot be easily 
described. This is not an issue with the Synapse or the sample services/Rampart 
code as it could be reproduced in a clean Axis2 1.3 build. Thus using the below 
as suggested workaround by Deepal instead

serviceClient.cleanup();

> NullpointerException thrown from the server side when invoking a second 
> service which is different to the first service
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-132
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-132
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>         Environment: Windows XP, JDK1.5.0_06
>            Reporter: Evanthika Amarasiri
>            Assignee: Asankha C. Perera
>             Fix For: 1.1
>
>
> Below are the steps followed to reproduce the issue
> 1. Deploy the relevant services. (SimpleStockQuoteService, 
> SecureStockQuoteService, MTOMSwASampleService, etc)
> 2. Start a sample which invokes a particular service (E.g.:- Sample 50 which 
> invokes "SecureStockQuoteService")
> 3. Send a request
> 4. Start another sample which invokes a different service (Sample 52 which 
> invokes "SimpleStockQuoteService")
> 5. When sending the request through the client, a NullpointerException is 
> thrown
> Exception in thread "HttpServerWorker-2" java.lang.NullPointerException
>         at 
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:158)
>         at 
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>         at 
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
>         at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at 
> org.apache.axis2.transport.nhttp.ServerWorker.processPost(ServerWorker.java:210)
>         at 
> org.apache.axis2.transport.nhttp.ServerWorker.run(ServerWorker.java:174)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to