Hi Malintha, This might be due to the having multiple httpcore dependencies in client side. Please check the httpcore dependency versions and exclude other versions from client side. and also , better to check in server side(components/plugins) as well, whether httpcore is duplicated with multiple versions.
Thanks, Nuwanw On Thu, Apr 17, 2014 at 5:01 PM, Malintha Adikari <malin...@wso2.com> wrote: > Hi, > > I got following exception when I am trying to send a request to an axis2 > server which was started programitically inside ESB-4.9.0- for testing > purposes (to provide a backend for tests). Is this due to any version > incompatibilities in ESB-4.9.0 dependencies ? > > Exception in thread "HTTP Listener I/O dispatcher-1" > java.lang.NoSuchMethodError: > org.apache.http.params.HttpProtocolParams.getMalformedInputAction(Lorg/apache/http/params/HttpParams;)Ljava/nio/charset/CodingErrorAction; > at > org.apache.http.impl.nio.reactor.SessionInputBufferImpl.<init>(SessionInputBufferImpl.java:78) > at > org.apache.http.impl.nio.NHttpConnectionBase.<init>(NHttpConnectionBase.java:146) > at > org.apache.http.impl.nio.DefaultNHttpServerConnection.<init>(DefaultNHttpServerConnection.java:93) > at > org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.<init>(LoggingNHttpServerConnection.java:64) > at > org.apache.synapse.transport.http.conn.LoggingUtils.createServerConnection(LoggingUtils.java:73) > at > org.apache.synapse.transport.http.conn.ServerConnFactory.createConnection(ServerConnFactory.java:90) > at > org.apache.synapse.transport.nhttp.ServerIODispatch.createConnection(ServerIODispatch.java:58) > at > org.apache.synapse.transport.nhttp.ServerIODispatch.createConnection(ServerIODispatch.java:39) > at > org.apache.http.impl.nio.reactor.AbstractIODispatch.connected(AbstractIODispatch.java:72) > at > org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:242) > at > org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:427) > at > org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:291) > Apr 17, 2014 4:39:56 PM org.apache.axis2.transport.http.HTTPSender > sendViaPost > INFO: Unable to sendViaPost to url[ > http://localhost:9000/services/SimpleStockQuoteService] > java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:237) > 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.wso2.esb.integration.common.utils.clients.stockquoteclient.StockQuoteClient.sendSimpleStockQuoteRequest(StockQuoteClient.java:68) > .................... > > Regards, > -- > *Malintha Adikari* > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > Mobile: +94 71 2312958 > Blog: http://malinthas.blogspot.com > Page: http://about.me/malintha > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev