Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 6377 invoked from network); 9 Jun 2010 09:21:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jun 2010 09:21:43 -0000 Received: (qmail 49357 invoked by uid 500); 9 Jun 2010 09:21:43 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 49326 invoked by uid 500); 9 Jun 2010 09:21:43 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 49319 invoked by uid 99); 9 Jun 2010 09:21:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 09:21:42 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [80.12.242.139] (HELO smtp2a.orange.fr) (80.12.242.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 09:21:36 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2a09.orange.fr (SMTP Server) with ESMTP id E160C700079B for ; Wed, 9 Jun 2010 11:21:13 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2a09.orange.fr (SMTP Server) with ESMTP id D560970007BF for ; Wed, 9 Jun 2010 11:21:13 +0200 (CEST) Received: from PCDEV2 (LNeuilly-152-23-14-43.w193-252.abo.wanadoo.fr [193.252.45.43]) by mwinf2a09.orange.fr (SMTP Server) with SMTP id 8F060700079B for ; Wed, 9 Jun 2010 11:21:13 +0200 (CEST) X-ME-UUID: 20100609092113585.8F060700079B@mwinf2a09.orange.fr Message-ID: <2780B8899A1A48C2BA42172F9EB4B9C1@PCDEV2> From: "jerome quaglia" To: References: <4C0CB0B2.1070807@card.fr> <4C0E00B6.6090905@day.com> Subject: Re: TikaException while uploading odt file using WebDAV Date: Wed, 9 Jun 2010 11:21:13 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Antivirus: avast! (VPS 100608-1, 08/06/2010), Outbound message X-Antivirus-Status: Clean hi angela thanks for your support can show me your code line when you tried to put an odt file really thanks regards jerome ----- Original Message ----- From: "Angela Schreiber" To: Sent: Tuesday, June 08, 2010 10:35 AM Subject: Re: TikaException while uploading odt file using WebDAV > > hi jerome > > i quickly tried it with my current jackrabbit 2.2-snaptshot and > didn't run into this problem. > > to me this rather looks like a TIKA problem and in fact > the TIKA dependency was upgraded in the trunk after the jackrabbit 2.1 > branch was split of [1]. > > jukka was probably the right person to know further details > about possible TIKA issues.... however, TIKA-327 indeed refers to a > bug report in the TIKA project [2] > > regards > angela > > [1] https://issues.apache.org/jira/browse/JCR-2593 > [2] https://issues.apache.org/jira/browse/TIKA-327 > > jerome quaglia wrote: >> hello, >> >> i try to put an odt file with the method put but the file is empty on the >> server webdav when i open it >> i use jackrrabit server standalone 2.1.0 and the sardine api for put the >> file >> the scope of the method put is put(String url,byte[] b). >> i develop with eclipse on windows xp >> >> the line of the code who return the error in the log server is >> byte[] davdata=FileUtils.readFileToByteArray(new File("C:\\jboss- >> 5.1.0.GA\\server\\default\\deploy\\ecard.war\\fusions\\modelefusioner"+this >> .dossnum+".odt")); >> >> webdav.put("http://127.0.0.1:8090/repository/default/"+"modelefusioner"+thi >> s.dossnum+".odt", davdata); >> >> >> >> >> >> THERE IS THE FOLLOWING ERROR >> LazyTextExtractorField: Failed to extract text from a binary property >> org.apache.tika.exception.TikaException: TIKA-237: Illegal SAXException >> from org.apache.tika.parser.xml.DcXMLParser@77c7bee2 >> at >> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:130) >> at >> org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:101) >> at >> org.apache.jackrabbit.core.query.lucene.JackrabbitParser.parse(JackrabbitParser.java: >> 189) >> at >> org.apache.jackrabbit.core.query.lucene.LazyTextExtractorField$ParsingTask.run(LazyTe >> xtExtractorField.java:174) >> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown >> Source) >> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) >> at java.util.concurrent.FutureTask.run(Unknown Source) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unkno >> wn Source) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown >> Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown >> Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> Caused by: org.xml.sax.SAXParseException: Premature end of file. >> at >> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown >> Source) >> at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown >> Source) >> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >> Source) >> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >> Source) >> at >> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown >> Source) >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) >> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) >> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown >> Source) >> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) >> at javax.xml.parsers.SAXParser.parse(Unknown Source) >> at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:72) >> at >> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:120) >> ... 11 more >> 04.06.2010 21:37:44 *WARN * LazyTextExtractorField: Failed to extract >> text from a binary property >> org.apache.tika.exception.TikaException: TIKA-237: Illegal SAXException >> from org.apache.tika.parser.xml.DcXMLParser@77c7bee2 >> at >> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:130) >> at >> org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:101) >> at >> org.apache.jackrabbit.core.query.lucene.JackrabbitParser.parse(JackrabbitParser.java: >> 189) >> at >> org.apache.jackrabbit.core.query.lucene.LazyTextExtractorField$ParsingTask.run(LazyTe >> xtExtractorField.java:174) >> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown >> Source) >> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) >> at java.util.concurrent.FutureTask.run(Unknown Source) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unkno >> wn Source) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown >> Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown >> Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> Caused by: org.xml.sax.SAXParseException: Premature end of file. >> at >> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown >> Source) >> at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown >> Source) >> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >> Source) >> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >> Source) >> at >> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown >> Source) >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) >> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) >> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown >> Source) >> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) >> at javax.xml.parsers.SAXParser.parse(Unknown Source) >> at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:72) >> at >> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:120) >> ... 11 more >> 04.06.2010 21:49:38 *WARN * LazyTextExtractorField: Failed to extract >> text from a binary property >> org.apache.tika.exception.TikaException: TIKA-237: Illegal SAXException >> from org.apache.tika.parser.xml.DcXMLParser@77c7bee2 >> at >> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:130) >> at >> org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:101) >> at >> org.apache.jackrabbit.core.query.lucene.JackrabbitParser.parse(JackrabbitParser.java: >> 189) >> at >> org.apache.jackrabbit.core.query.lucene.LazyTextExtractorField$ParsingTask.run(LazyTe >> xtExtractorField.java:174) >> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown >> Source) >> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) >> at java.util.concurrent.FutureTask.run(Unknown Source) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unkno >> wn Source) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown >> Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown >> Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> Caused by: org.xml.sax.SAXParseException: Premature end of file. >> at >> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown >> Source) >> at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown >> Source) >> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >> Source) >> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >> Source) >> at >> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown >> Source) >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) >> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) >> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown >> Source) >> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) >> at javax.xml.parsers.SAXParser.parse(Unknown Source) >> at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:72) >> at >> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:120) >> ... 11 more >> THANKS FOR SUPPORT >> sorry i french and dont speak englis very well thank a lot >> >> >> >> >> >> > > --------------------------------------------------------------------------------------- > Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. > Aucun virus connu a ce jour par nos services n'a ete detecte. > >