Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 27504 invoked from network); 12 Sep 2005 04:44:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Sep 2005 04:44:49 -0000 Received: (qmail 27377 invoked by uid 500); 12 Sep 2005 04:44:48 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 27365 invoked by uid 500); 12 Sep 2005 04:44:48 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 27352 invoked by uid 99); 12 Sep 2005 04:44:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2005 21:44:48 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.200.38] (HELO web31105.mail.mud.yahoo.com) (68.142.200.38) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 11 Sep 2005 21:44:59 -0700 Received: (qmail 6230 invoked by uid 60001); 12 Sep 2005 04:44:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1t+DFZg8n4O8zaIAvJsjh45PMXW1md5qd4VmCC8yS1tUwCHolt1u8s0QIuEkynCKMx03k2fUlB49aa4uG3rEk3fbCQ+CemfEb0m7xeUwupvPV44b99NfCHv+KbS4Okqx04UMBLih+mbY0bCYFcOntOl9of9xdNbCIkIGKNJr85c= ; Message-ID: <20050912044445.6228.qmail@web31105.mail.mud.yahoo.com> Received: from [69.201.142.21] by web31105.mail.mud.yahoo.com via HTTP; Sun, 11 Sep 2005 21:44:45 PDT Date: Sun, 11 Sep 2005 21:44:45 -0700 (PDT) From: Otis Gospodnetic Subject: Re: Problem of indexing pdf files To: general@lucene.apache.org In-Reply-To: <20050911185703.5469.qmail@web54307.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N That's a log4j warning message, because one of the PDFBox classes is trying to log something, and you don't have log4j configured appropriately. This is not a Lucene issue, and it's a warning, so you can ignore it if you want. Otis --- tirupathi reddy wrote: > Hello, > > I am getting the following warning message when I am indexing the > pdf files using Lucene Indexing. > > log4j:WARN No appenders could be found for logger > (org.pdfbox.pdfparser.PDFParser). > log4j:WARN Please initialize the log4j system properly. > > This is the code I am using: > > if(pdf.exists()) > { > String text = ""; > try{ > PDDocument document = PDDocument.load(pdf); // laden des Files > > PDFTextStripper pts = new PDFTextStripper(); //Extrahieren des > Textes > text = pts.getText(document); > document.close(); > } > catch(IOException e){ > System.out.println("File not found"); > } > mDocument.add(Field.Text("fulltext", text)); > > > thanx, > MTREDDY > > > > > Tirupati Reddy Manyam > 24-06-08, > Sundugaullee-24, > 79110 Freiburg > GERMANY. > > Phone: 00497618811257 > cell : 004917624649007 > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com