Hi,
Executed the sample 201 with NHTTP configuration, it fails giving following
errors;
It seems message has not passed to the back end, hence reopened the issue.
Axis2Client console
-------------------------
[java] org.apache.axis2.AxisFault: Time out while waiting for the server
to send the response.
[java] at
org.apache.axis2.description.OutInAxisOperationClient$SyncCallBack.waitForCompletion(OutInAxisOperation.java:519)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.sendAsync(OutInAxisOperation.java:307)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:221)
[java] at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
[java] at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
[java] at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
[java] at samples.userguide.StockQuoteClient.executeClient(Unknown
Source)
[java] at samples.userguide.StockQuoteClient.main(Unknown Source)
ESB console
----------------
[2014-07-16 21:21:07,503] ERROR - ServerWorker Error processing POST
request
java.lang.NullPointerException: Tenant domain has not been set in
CarbonContext
at
org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)
at
org.wso2.carbon.security.pox.POXSecurityHandler.getPOXCache(POXSecurityHandler.java:365)
at
org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:123)
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:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at
org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:461)
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:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Thanks
Amalka
---------- Forwarded message ----------
From: Jeewantha Dharmaparakrama (JIRA) <[email protected]>
Date: Tue, Jul 15, 2014 at 7:00 PM
Subject: [jira] (ESBJAVA-3197) Sample 201 is not working
To: [email protected]
Jeewantha Dharmaparakrama
<https://wso2.org/secure/ViewProfile.jspa?name=jeewantha%40wso2.com>
resolved [image: Bug] ESBJAVA-3197 <https://wso2.org/browse/ESBJAVA-3197>
as *Not a bug*
*Sample 201 is not working* <https://wso2.org/browse/ESBJAVA-3197>
Works in NHTTP transport. Reliable messaging only works with NHTTP
transport.
*Change By:* Jeewantha Dharmaparakrama
<https://wso2.org/secure/ViewProfile.jspa?name=jeewantha%40wso2.com>
(15/Jul/14 7:00 PM) *Status:* Open Resolved *Resolution:* Not a
bug This
message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA
administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--
Amalka Subasinghe
Senior Software Engineer
WSO2 Inc.
Mobile: +94 77 9401267
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev