Return-Path: X-Original-To: apmail-manifoldcf-user-archive@www.apache.org Delivered-To: apmail-manifoldcf-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18FD0D38D for ; Mon, 11 Mar 2013 14:22:04 +0000 (UTC) Received: (qmail 50299 invoked by uid 500); 11 Mar 2013 14:10:07 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 50149 invoked by uid 500); 11 Mar 2013 14:10:01 -0000 Mailing-List: contact user-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@manifoldcf.apache.org Delivered-To: mailing list user@manifoldcf.apache.org Received: (qmail 50053 invoked by uid 99); 11 Mar 2013 14:09:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 14:09:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of daddywri@gmail.com designates 209.85.220.180 as permitted sender) Received: from [209.85.220.180] (HELO mail-vc0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 14:09:50 +0000 Received: by mail-vc0-f180.google.com with SMTP id fo13so2041222vcb.25 for ; Mon, 11 Mar 2013 07:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=CD8vx+1T88SDvrLaEaG8h+ErR9VAH5ojLt58nPnOh3I=; b=jvwKwUl4uSkxemwjuL9rzjdxGr0VXZo8EzfQwZVOajCMcIg/e2ilIIqw37Ot/tfYMK p3gI4JeNEtaYgdjw1LiVauYbE3Z2NLLpxC4pgScQMtYPTlhWJ/3/yx5DvWZfDX0bJC4+ DL3XXhRiZfxS+YfqExj60QY0AXD3G++g92NyAcPGAJcFpR+9G8L5YyJvmNHSrszVLla5 5YP6pz8JWcVawtWShdyHUbqqKBPw/7FMF2Qw6khI4Nh4I2dV1KgQJkUVa68qFba9vVPy gjDQHmrI3MM++fJDiR+LderYSukE2oea86LP5zqMA2WCqq7vunELURdK+d5dPQY0SK4N HLaQ== MIME-Version: 1.0 X-Received: by 10.52.34.69 with SMTP id x5mr4310968vdi.31.1363010969277; Mon, 11 Mar 2013 07:09:29 -0700 (PDT) Received: by 10.58.218.195 with HTTP; Mon, 11 Mar 2013 07:09:29 -0700 (PDT) In-Reply-To: References: <51388957.50502@usit.uio.no> <5138924A.5060500@usit.uio.no> <5138A2B3.3020407@usit.uio.no> <5138A6FD.5050506@usit.uio.no> <5139E587.9030301@usit.uio.no> <70E3DFB3-FB64-4D02-B795-D4CE10EBEC73@usit.uio.no> <513DE306.9070807@usit.uio.no> Date: Mon, 11 Mar 2013 10:09:29 -0400 Message-ID: Subject: Re: IO exception during indexing: null From: Karl Wright To: user@manifoldcf.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Can you turn on debugging as you did last week? Then, restart manifoldcf and then view the Solr connection with basic auth, and send me the appropriate part of the log. Thanks! Karl On Mon, Mar 11, 2013 at 10:05 AM, Karl Wright wrote: > We already use multipart entity. But we can't use bytearraybody > because it means the entire document has to be sucked into memory. > That's not acceptable. > > I will post again on the HttpClient list, because they did lead me to > believe that using expect-continue would do the right thing. > > Karl > > > On Mon, Mar 11, 2013 at 9:58 AM, Erlend Gar=E5sen wrote: >> >> Did an svn up, built and deployed on our prod server, but I'm still gett= ing >> the same error. >> >> I just saw the following comment from you in the HttpClient forum: "Prob= lem >> is that ManifoldCF output connectors get an inputstream handed to them, = not >> a file.". >> >> I think I had a similar issue when I upgraded from a previous release of >> HttpClient. By using the HttpPost class in HttpClient, I did something l= ike >> this with a dummy file named used (for multi-form post data): >> >> MultipartEntity multipartEntity =3D new MultipartEntity(); >> multipartEntity.addPart("myfile", new ByteArrayBody(content, contentType= , >> "myfile")); >> httpPost.setEntity(multipartEntity); >> >> I'm afraid that we need to use the new HttpEntity implementations. >> >> Erlend >> >> >> On 10.03.13 20.43, Erlend Gar=E5sen wrote: >>> >>> Thanks Karl! >>> >>> I'm sitting on the train this evening, so I will try and report tomorro= w. >>> >>> Erlend. >>> >>> Sent from my iPad >>> >>> On 8. mars 2013, at 21:06, Karl Wright wrote: >>> >>>> There's some indication that turning on expect-continue will resolve >>>> this issue. So that is what I did. Please synch up trunk and see if >>>> you still get the error. >>>> >>>> Thanks! >>>> Karl >>>> >>>> >>>> On Fri, Mar 8, 2013 at 9:14 AM, Karl Wright wrote= : >>>>> >>>>> OK, there IS a problem here, and it is a significant one. See >>>>> CONNECTORS-661 for details. >>>>> >>>>> I've asked for a workaround proposal on the httpcomponents list; it >>>>> seems to me that pre-emptive auth headers should be possible in >>>>> HttpClient. In the worst case, we can construct our own header, but >>>>> first let's see what they say. >>>>> >>>>> Karl >>>>> >>>>> >>>>> On Fri, Mar 8, 2013 at 8:20 AM, Erlend Gar=E5sen >>>>> wrote: >>>>>> >>>>>> On 08.03.13 13.37, Karl Wright wrote: >>>>>>> >>>>>>> >>>>>>> Actually, let's just cut to the chase, and enable full wire and >>>>>>> context >>>>>>> logging: >>>>>>> >>>>>>> log4j.logger.org.apache.http=3DDEBUG >>>>>>> >>>>>>> That will let us see what is happening for sure. >>>>>> >>>>>> >>>>>> >>>>>> Working on it. >>>>>> >>>>>> I will send the log directly to you, Karl, since this list may cut t= he >>>>>> log >>>>>> file. >>>>>> >>>>>> >>>>>> Erlend >>>>>> >>>>>> -- >>>>>> Erlend Gar=E5sen >>>>>> Center for Information Technology Services >>>>>> University of Oslo >>>>>> P.O. Box 1086 Blindern, N-0317 OSLO, Norway >>>>>> Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP= : >>>>>> 31050 >> >> >> >> -- >> Erlend Gar=E5sen >> Center for Information Technology Services >> University of Oslo >> P.O. Box 1086 Blindern, N-0317 OSLO, Norway >> Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31= 050