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] [Created] (CONNECTORS-1453) Implement POI's suggested workaround for their classloader issue
Date Sat, 02 Sep 2017 16:17:00 GMT
Karl Wright created CONNECTORS-1453:
---------------------------------------

             Summary: 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