Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4ED618D47 for ; Tue, 28 Apr 2015 12:06:53 +0000 (UTC) Received: (qmail 11215 invoked by uid 500); 28 Apr 2015 12:06:45 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 11149 invoked by uid 500); 28 Apr 2015 12:06:45 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 11133 invoked by uid 99); 28 Apr 2015 12:06:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 12:06:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for solr-user@lucene.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 12:06:39 +0000 Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id EC1FB43BD0 for ; Tue, 28 Apr 2015 12:06:18 +0000 (UTC) Received: by lbcga7 with SMTP id ga7so105439114lbc.1 for ; Tue, 28 Apr 2015 05:06:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=BVtlgdhDgab3ts/OPrjeTSoB6BOgJx4CACgUm5HoWa4=; b=km4onSLw4d1ZLU+J8ZWtG0INYGB4UHS7clXbgzkp1wAykDn45mWVVF0lvXHQaPU0Dv Z2bqmOM1/tGKenfSV7/mnq4BI3aaklEpj5GH/+CHh72r6nnrkboUb/KVk7mHjYJSpg9e zkulkaJwl9edd9wMUaaQVMwj7a533pP2XD4pEs6FaDOzymIHLO524cY1RLOTgswtdD5l HgHuA2CkEsfmchXY8b3JJzBMu0UGmt3fn6JVgOvqv55LqO4lAQvxswgBKh3M8LMw6v6/ cYMt5CoojjIAeZ5McZcSx7RrLvGq/IErgRp3PTpBhfYEGcFB9zQCs7yW/vsqEBm4vPiX IpIw== X-Gm-Message-State: ALoCoQnoPQCmMps37X1BkSu3EFjRASQaCaNcfN961of4/PwcLGYLCYAir2kLJySyVaAAuh+Itq0W5Csuroe3o/wQRkJlo+T6y49oxaoB1cPCu2ksE8Qmf9trH074AvMSgihvks+XD72M MIME-Version: 1.0 X-Received: by 10.152.5.39 with SMTP id p7mr1124004lap.18.1430222771567; Tue, 28 Apr 2015 05:06:11 -0700 (PDT) Received: by 10.114.25.67 with HTTP; Tue, 28 Apr 2015 05:06:11 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Apr 2015 13:06:11 +0100 Message-ID: Subject: Re: Expected mime type application/octet-stream but got text/html From: Vijaya Narayana Reddy Bhoomi Reddy To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=089e01419e2a3fd46a0514c7b07c X-Virus-Checked: Checked by ClamAV on apache.org --089e01419e2a3fd46a0514c7b07c Content-Type: text/plain; charset=UTF-8 Just to add, my solrconfig.xml is the standard one, with no modifications. It was taken directly from the collection1 core from 4.10.2 installation. However, in schema.xml, I have added my own fields. Hope it has got nothing to do with schema.xml Thanks & Regards Vijay wrote: > Hi, > > I am suddenly seeing this error message when I try to index documents > using SolrJ client. The same piece of code was working fine last time when > I indexed the documents. But now, this is the error message being thrown on > the SolrJ client. Request your urgent help as this is very high priority > for me. > > > Exception in thread "main" > org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: > Expected mime type application/octet-stream but got text/html. > > > Error 404 Not Found > > >

HTTP ERROR: 404

>

Problem accessing /update. Reason: >

    Not Found

>
Powered by Jetty:// > > > > > at > org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512) > at > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210) > at > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206) > at > org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:124) > at > com.lgcgroup.solr.indexer.SolrTikaIndexer.indexBinaryDocuments(SolrTikaIndexer.java:154) > at com.lgcgroup.solr.indexer.IndexingDriver.main(IndexingDriver.java:54) > > > Thanks & Regards > Vijay > -- The contents of this e-mail are confidential and for the exclusive use of the intended recipient. If you receive this e-mail in error please delete it from your system immediately and notify us either by e-mail or telephone. You should not copy, forward or otherwise disclose the content of the e-mail. The views expressed in this communication may not necessarily be the view held by WHISHWORKS. --089e01419e2a3fd46a0514c7b07c--