manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CONNECTORS-1453) Implement POI's suggested workaround for their classloader issue
Date Fri, 22 Sep 2017 06:35:00 GMT

     [ https://issues.apache.org/jira/browse/CONNECTORS-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karl Wright resolved CONNECTORS-1453.
-------------------------------------
    Resolution: Fixed

r1809260

> Implement POI's suggested workaround for their classloader issue
> ----------------------------------------------------------------
>
>                 Key: CONNECTORS-1453
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1453
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Tika extractor
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 2.9
>
>
> The Apache POI folks do not want to change their classloader setup, unfortunately.  But
they have provided a hook for overriding the class loader in 3.16 and up here:
> {code}
> org.apache.poi.POIXMLTypeLoader.setClassLoader(ClassLoader cl)
> {code}
> This sets the classloader into a ThreadLocal.  So there would be a rather clunky workaround
that would have the TikaExtractor set the POI class loader before all tika-parser requests.
> It only makes sense to do this if there is no plan to solve this for real.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message