Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 25992 invoked from network); 22 Sep 2009 06:06:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Sep 2009 06:06:23 -0000 Received: (qmail 40811 invoked by uid 500); 22 Sep 2009 06:06:23 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 40752 invoked by uid 500); 22 Sep 2009 06:06:23 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 40742 invoked by uid 500); 22 Sep 2009 06:06:23 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 40738 invoked by uid 99); 22 Sep 2009 06:06:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 06:06:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 06:06:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 37B8E234C1EA for ; Mon, 21 Sep 2009 23:05:53 -0700 (PDT) Message-ID: <483040434.1253599553204.JavaMail.jira@brutus> Date: Mon, 21 Sep 2009 23:05:53 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-2017) Connection reset in http component In-Reply-To: <212638812.1253039412236.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-2017. -------------------------------- Resolution: Fixed Fix Version/s: 2.1.0 Assignee: Claus Ibsen Thanks for testing on trunk > Connection reset in http component > ---------------------------------- > > Key: CAMEL-2017 > URL: https://issues.apache.org/activemq/browse/CAMEL-2017 > Project: Apache Camel > Issue Type: Bug > Components: camel-http > Affects Versions: 2.0.0 > Environment: Camel 2.0.0, Ubuntu Linux, Sun JDK 1.6.0_16 (32bit) > Reporter: Dragisa Krsmanovic > Assignee: Claus Ibsen > Fix For: 2.1.0 > > > This simple example will fail in http component with I/O Exception. > Worked in 2.0-M3 but fails in 2.0.0 > {code:java} > Namespaces ns = new Namespaces("atom", "http://www.w3.org/2005/Atom"); > from("rss:http://www.plosone.org/article/feed") > .marshal().rss() > .setHeader(Exchange.HTTP_URI).xpath("//atom:entry/atom:link[@type=\"application/pdf\"]/@href", ns) > .to("http://foo") > .to("mock:end"); > {code} > Here is debug output: > {noformat} > Camel thread 0: RssComponent] HttpProducer DEBUG No > Content-Type provided for URI: > http://www.plosone.org/article/fetchObjectAttachment.action?uri=info:doi/10.1371/journal.pone.0006932&representation=PDF with exchange: Exchange[Message: [B@150ecc7] > [ Camel thread 0: RssComponent] HttpProducer > DEBUG Executing http POST method: > http://www.plosone.org/article/fetchObjectAttachment.action?uri=info:doi/10.1371/journal.pone.0006932&representation=PDF > [ Camel thread 0: RssComponent] HttpMethodDirector > INFO I/O exception (java.net.SocketException) caught when processing > request: Connection reset > [ Camel thread 0: RssComponent] HttpMethodDirector > INFO Retrying request > [ Camel thread 0: RssComponent] HttpMethodDirector > INFO I/O exception (java.net.SocketException) caught when processing > request: Connection reset > [ Camel thread 0: RssComponent] HttpMethodDirector > INFO Retrying request > [ Camel thread 0: RssComponent] HttpMethodDirector > INFO I/O exception (java.net.SocketException) caught when processing > request: Connection reset > [ Camel thread 0: RssComponent] HttpMethodDirector > INFO Retrying request > [ Camel thread 0: RssComponent] DefaultErrorHandler > DEBUG Failed delivery for exchangeId: > ID-dkrsmanovic-usws-55084-1252968147202-0-1. On delivery attempt: 0 > caught: java.net.SocketException: Connection reset > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.