Subash, are you trying the trunk or a specific release, if so what is the version?
Thanks, Ruwan On Sat, Jun 12, 2010 at 11:17 PM, Subash Chaturanga <[email protected]>wrote: > Hi , > > I run the sample with " ant -Dmode=placeorder " .And the expected > result was a log with : > > *SimpleStockQuoteService :: Accepted order for : 7482 stocks of IBM at > $ 169.27205579038733* > > But when i do the ant it took a bit time and gives this exception > > Buildfile: build.xml > > init: > > compile: > > stockquote: > [java] 2010-06-12 23:09:59,164 [-] [main] ERROR SandeshaModule > Could not load module policies. Using default values. > [java] 2010-06-12 23:09:59,244 [-] [main] INFO > MailTransportSender MAILTO Sender started > [java] 2010-06-12 23:09:59,254 [-] [main] INFO JMSSender JMS > Sender started > [java] 2010-06-12 23:09:59,255 [-] [main] INFO JMSSender JMS > Transport Sender initialized... > [java] 2010-06-12 23:10:29,506 [-] [main] INFO HTTPSender Unable > to sendViaPost to url[http://localhost:8280/] > [java] java.net.SocketTimeoutException: Read timed out > [java] at java.net.SocketInputStream.socketRead0(Native Method) > [java] at > java.net.SocketInputStream.read(SocketInputStream.java:129) > [java] at > java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > [java] at > java.io.BufferedInputStream.read(BufferedInputStream.java:237) > [java] at > org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) > [java] at > org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) > [java] at > > org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) > [java] at > > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) > [java] at > > org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) > [java] at > > org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) > [java] at > > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) > [java] at > > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) > [java] at > > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > [java] at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > [java] at > > org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:560) > [java] at > org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193) > [java] at > org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) > [java] at > > org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:415) > [java] at > > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:240) > [java] at > org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) > [java] at > > org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:272) > [java] at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) > [java] at > org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:512) > [java] at > org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:489) > [java] at samples.userguide.StockQuoteClient.executeClient(Unknown > Source) > [java] at samples.userguide.StockQuoteClient.main(Unknown Source) > [java] org.apache.axis2.AxisFault: Read timed out > [java] at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > [java] at > org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:197) > [java] at > org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) > [java] at > > org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:415) > [java] at > > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:240) > [java] at > org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) > [java] at > > org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:272) > [java] at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) > [java] at > org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:512) > [java] at > org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:489) > [java] at samples.userguide.StockQuoteClient.executeClient(Unknown > Source) > [java] at samples.userguide.StockQuoteClient.main(Unknown Source) > [java] Caused by: java.net.SocketTimeoutException: Read timed out > [java] at java.net.SocketInputStream.socketRead0(Native Method) > [java] at > java.net.SocketInputStream.read(SocketInputStream.java:129) > [java] at > java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > [java] at > java.io.BufferedInputStream.read(BufferedInputStream.java:237) > [java] at > org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) > [java] at > org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) > [java] at > > org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) > [java] at > > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) > [java] at > > org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) > [java] at > > org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) > [java] at > > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) > [java] at > > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) > [java] at > > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > [java] at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > [java] at > > org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:560) > [java] at > org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193) > [java] ... 10 more > > > > Regards > /subash > -- Ruwan Linton Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb WSO2 Inc.; http://wso2.org Lean . Enterprise . Middleware phone: +1 408 754 7388 ext 51789 email: [email protected]; cell: +94 77 341 3097 blog: http://blog.ruwan.org linkedin: http://www.linkedin.com/in/ruwanlinton google: http://www.google.com/profiles/ruwan.linton tweet: http://twitter.com/ruwanlinton
