Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 76032 invoked from network); 1 Apr 2009 21:05:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2009 21:05:24 -0000 Received: (qmail 73307 invoked by uid 500); 1 Apr 2009 21:05:23 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 73231 invoked by uid 500); 1 Apr 2009 21:05:22 -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 73221 invoked by uid 99); 1 Apr 2009 21:05:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 21:05:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vivextra@gmail.com designates 74.125.46.31 as permitted sender) Received: from [74.125.46.31] (HELO yw-out-2324.google.com) (74.125.46.31) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 21:05:16 +0000 Received: by yw-out-2324.google.com with SMTP id 9so155728ywe.5 for ; Wed, 01 Apr 2009 14:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=whALpnsqsTBcmgvx7xGPhHGLc4MBDKRe2AsL7xHlB2I=; b=DdR2+jpEFaGPqykojoypXXWZT4gXwC6IYSW+P0uYVqEwYpMat+Mf7HnZr4a61dCZi1 SkppL7XAZxY2ySrFnhRMR3W8VSTrSpb/TokB6NhxEWlE5Z05f+JXJ9H9ZbZPWnqpFQk3 8J7FWm2HpdZ41CoKIS5tPe+8Qn1URO0FZpaRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=SboGEQ8yl2bco6YX9ybPFch6M4z3sL/H1JOyB/dROjpm5fhvPHPCPaAUcstCN+DQTa kG42dIjOndlGwlT9DBP4hgAA69DxG6UR/6UW1ZgqoC2d0j1/S5EpyTzQxhz3QVE9cil7 zz8O8Vy5WnZDKmNgp/mrZvi0hzcHN5xijT7yI= MIME-Version: 1.0 Received: by 10.90.74.7 with SMTP id w7mr2759431aga.14.1238619895598; Wed, 01 Apr 2009 14:04:55 -0700 (PDT) In-Reply-To: <69de18140904011302p1f1f3f2av3613712f8deb4a56@mail.gmail.com> References: <5e76b0ad0904010322h646ce287x4118aee3f8365649@mail.gmail.com> <69de18140904011302p1f1f3f2av3613712f8deb4a56@mail.gmail.com> Date: Wed, 1 Apr 2009 14:04:55 -0700 Message-ID: Subject: Re: Runtime exception when adding documents using solrj From: vivek sar To: solr-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thanks Shalin. I added that in the solrconfig.xml, but now I get this exception, org.apache.solr.common.SolrException: Not Found Not Found request: http://localhost:8080/solr/core0/update?wt=3Djavabin&version=3D2.2 I do have the "core0" under the solr.home. The core0 directory also contains the conf and data directories. The solr.xml has following in it, Am I missing anything else? Thanks, -vivek On Wed, Apr 1, 2009 at 1:02 PM, Shalin Shekhar Mangar wrote: > On Thu, Apr 2, 2009 at 1:13 AM, vivek sar wrote: >> Hi, >> >> =A0I'm trying to add the list of POJO objects (using annotations) using >> solrj, but the "server.addBeans(...) " is throwing this exception, >> >> org.apache.solr.common.SolrException: Bad Request >> Bad Request >> request: http://localhost:8080/solr/core0/update?wt=3Djavabin&version=3D= 2.2 >> >> Note, I'm using multi-core. There is no other exception in the solr log. >> > > Can you make sure all the cores' solrconfig.xml have the following line? > > class=3D"solr.BinaryUpdateRequestHandler" /> > > The above is needed for binary update format to work. I don't think > the multi core example solrconfig.xml in solr nightly builds contain > this line. > >> Related question - I'm trying to upgrade the solrj from nightly build, >> but I get some classnotfound exception >> (java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory). What are >> all the dependencies for Solrj1.4 (wiki has only up to 1.3 >> information). >> > > I think you need slf4j-api-1.5.5.jar and slf4j-jdk14-1.5.5.jar. Both > can be found in solr's nightly downloads in the lib directory. > > -- > Regards, > Shalin Shekhar Mangar. >