tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TIKA-569) More fault-tolerant loading of parsers and detectors
Date Fri, 10 Dec 2010 14:13:01 GMT

    [ https://issues.apache.org/jira/browse/TIKA-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970175#action_12970175

Jukka Zitting commented on TIKA-569:

In revision 1044313 I modified the ServiceLoader class to parse the available service provider
files and instantiate the listed provider classes directly instead of using the imageio ServiceRegistry
class for that. This way we can better catch and ignore load errors related to individual

In revision 1044362 I added an initial version of the policy idea suggested by Nick.

Comments welcome on both changes. We might also want to extend this to cover the parser class
loading done in the TikaConfig class when dealing with explicitly provided tika-config.xml

> More fault-tolerant loading of parsers and detectors
> ----------------------------------------------------
>                 Key: TIKA-569
>                 URL: https://issues.apache.org/jira/browse/TIKA-569
>             Project: Tika
>          Issue Type: Improvement
>          Components: config
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
> Currently Tika will fail to start even if a single configured parser or detector can
not be loaded. Such cases occur often when required parser libraries or other dependencies
are not available, and it would be good if Tika could degrade more gracefully in such situations.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message