Hi Isuru, Thanks and now its working fine.
Regards, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Sat, Apr 5, 2014 at 1:01 PM, Isuru Udana <[email protected]> wrote: > > > > On Sat, Apr 5, 2014 at 12:18 PM, Sohani Weerasinghe <[email protected]>wrote: > >> Hi Nirmal, >> >> Thanks, >> >> Hi Isuru, >> >> Yes I am using try it tool and the proxy is getting the response as well. >> Even though I increased the socket timeout still I am getting this error >> while running ESB in debug mode. >> > When you are debugging, stop at the breakpoint and wait there for > sometime, it is obvious that client will get timeout. > Using a client like soapui and increasing the socket timeout of it and > increasing the http.socket.timeout of the ESB will help you to debug more > time without client getting timeout. > >> >> Thanks, >> Sohani >> >> Sohani Weerasinghe >> Software Engineer >> WSO2, Inc: http://wso2.com >> >> Mobile : +94 716439774 >> Blog :http://christinetechtips.blogspot.com/ >> Twitter : https://twitter.com/sohanichristine >> >> >> On Sat, Apr 5, 2014 at 12:12 PM, Isuru Udana <[email protected]> wrote: >> >>> Hi Sohani, >>> >>> I think you are invoking the proxy service using the tryit tool. >>> Reason for getting this "Read timed out" is you haven't receive a >>> response back. >>> Increasing the http.socket.timeout will only help if the issue is proxy >>> takes long time to respond. >>> First verify whether proxy service sending back a response to the >>> client. >>> >>> >>> >>> >>> On Sat, Apr 5, 2014 at 12:00 PM, Nirmal Fernando <[email protected]>wrote: >>> >>>> Hi Sohani, >>>> >>>> If you want to increase the socket timeout (http.socket.timeout), you >>>> can do it via the passthru.properties file of ESB. >>>> >>>> >>>> On Sat, Apr 5, 2014 at 11:58 AM, Sohani Weerasinghe <[email protected]>wrote: >>>> >>>>> Hi, >>>>> >>>>> When trying to invoke a proxy while the ESB server runs in debug >>>>> mode, I am getting the following error. >>>>> >>>>> [2014-04-05 11:35:30,261] INFO - HTTPSender Unable to sendViaPost to >>>>> url[serviceurl for the proxy] >>>>> java.net.SocketTimeoutException: Read timed out >>>>> at java.net.SocketInputStream.socketRead0(Native Method) >>>>> at java.net.SocketInputStream.read(SocketInputStream.java:150) >>>>> at java.net.SocketInputStream.read(SocketInputStream.java:121) >>>>> at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) >>>>> at java.io.BufferedInputStream.read(BufferedInputStream.java:254) >>>>> at >>>>> org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) >>>>> at >>>>> org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) >>>>> at >>>>> org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) >>>>> at >>>>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) >>>>> at >>>>> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) >>>>> at >>>>> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) >>>>> at >>>>> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) >>>>> at >>>>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) >>>>> at >>>>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >>>>> at >>>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >>>>> at >>>>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:622) >>>>> at >>>>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193) >>>>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) >>>>> at >>>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451) >>>>> at >>>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278) >>>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) >>>>> at >>>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430) >>>>> at >>>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225) >>>>> at >>>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) >>>>> at >>>>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554) >>>>> at >>>>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530) >>>>> at >>>>> org.apache.jsp.admin.jsp.WSRequestXSSproxy_005fajaxprocessor_jsp._jspService(org.apache.jsp.admin.jsp.WSRequestXSSproxy_005fajaxprocessor_jsp:276) >>>>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) >>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) >>>>> at >>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403) >>>>> at >>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492) >>>>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378) >>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) >>>>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155) >>>>> at >>>>> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80) >>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) >>>>> at >>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37) >>>>> at >>>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) >>>>> at >>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) >>>>> at >>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) >>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) >>>>> at >>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) >>>>> at >>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) >>>>> at >>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>>>> at >>>>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) >>>>> at >>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) >>>>> at >>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>>>> at >>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) >>>>> at >>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) >>>>> at >>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >>>>> at >>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >>>>> at >>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >>>>> at >>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) >>>>> at >>>>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49) >>>>> at >>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141) >>>>> at >>>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) >>>>> at >>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) >>>>> at >>>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) >>>>> at >>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >>>>> at >>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >>>>> at >>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) >>>>> at >>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >>>>> at >>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) >>>>> at >>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>>>> at >>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>>>> at java.lang.Thread.run(Thread.java:722) >>>>> >>>>> Can someone provide a solution please? >>>>> >>>>> Thanks, >>>>> Sohani >>>>> >>>>> Sohani Weerasinghe >>>>> Software Engineer >>>>> WSO2, Inc: http://wso2.com >>>>> >>>>> Mobile : +94 716439774 >>>>> Blog :http://christinetechtips.blogspot.com/ >>>>> Twitter : https://twitter.com/sohanichristine >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> Thanks & regards, >>>> Nirmal >>>> >>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc. >>>> Mobile: +94715779733 >>>> Blog: http://nirmalfdo.blogspot.com/ >>>> >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Isuru Udana* >>> Senior >>> * Software Engineer* >>> WSO2 Inc.; http://wso2.com >>> email: [email protected] cell: +94 77 3791887 >>> blog: http://mytecheye.blogspot.com/ >>> twitter: http://twitter.com/isudana >>> >> >> > > > -- > *Isuru Udana* > Senior > * Software Engineer* > WSO2 Inc.; http://wso2.com > email: [email protected] cell: +94 77 3791887 > blog: http://mytecheye.blogspot.com/ > twitter: http://twitter.com/isudana >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
