Return-Path: X-Original-To: apmail-tika-dev-archive@www.apache.org Delivered-To: apmail-tika-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E586CC459 for ; Fri, 3 Aug 2012 11:19:08 +0000 (UTC) Received: (qmail 79809 invoked by uid 500); 3 Aug 2012 11:19:08 -0000 Delivered-To: apmail-tika-dev-archive@tika.apache.org Received: (qmail 79592 invoked by uid 500); 3 Aug 2012 11:19:05 -0000 Mailing-List: contact dev-help@tika.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tika.apache.org Delivered-To: mailing list dev@tika.apache.org Received: (qmail 79521 invoked by uid 99); 3 Aug 2012 11:19:02 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2012 11:19:02 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 7BC9814052C for ; Fri, 3 Aug 2012 11:19:02 +0000 (UTC) Date: Fri, 3 Aug 2012 11:19:02 +0000 (UTC) From: "Gary Karasiuk (JIRA)" To: dev@tika.apache.org Message-ID: <1752465103.9757.1343992742511.JavaMail.jiratomcat@issues-vm> In-Reply-To: <21748815.6408.1343929322617.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (TIKA-968) tika-bundle missing org.apache.commons.logging.LogFactory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TIKA-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427997#comment-13427997 ] Gary Karasiuk commented on TIKA-968: ------------------------------------ I can confirm, that when I patched the tika-bundle (by adding the commons-logging-1.1.1.jar to it), that this problem went away. I currently have a working OSGi Tika application on Linux. Unfortunately the PDF parsing hangs on Macosx. The PDF parser causes a number of system libraries to be loaded, and for some reason it hangs while trying to load the AWT library. > tika-bundle missing org.apache.commons.logging.LogFactory > --------------------------------------------------------- > > Key: TIKA-968 > URL: https://issues.apache.org/jira/browse/TIKA-968 > Project: Tika > Issue Type: Bug > Components: packaging > Affects Versions: 1.2 > Reporter: Gary Karasiuk > > Trying to invoke the PDFParser from the tika-bundle results in this error: > java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory > at org.apache.pdfbox.pdfparser.BaseParser.(BaseParser.java:58) > at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1089) > at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1055) > at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:123) > at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242) > at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242) > at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242) > at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120) > at org.apache.tika.Tika.parseToString(Tika.java:421) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira