dameikle commented on pull request #4:
URL: https://github.com/apache/tika-docker/pull/4#issuecomment-947329383


   Sorry for not looking at this for a while @lewismc and @philipsoutham
   
   @lewismc I think this may be my bad for the Tika Vision example. On the Tika 
Vision examples the Tika config only has the _ObjectRecognitionParser_ setup 
and in some cases restricted on the mime-types. We could extend these so the 
examples are less restrictive out-of-the-box.
   
   I have the same issue for the NER example but it appear to be unrelated to 
this change. It's the only example that uses an entry-point script and is 
failing to find the class as it hasn't had the TAG env variable set.
   
   ```
   tika_1  | OpenNLP models directory has files, so skipping fetch
   tika_1  | Error: Could not find or load main class 
org.apache.tika.server.TikaServerCli
   tika_1  | Caused by: java.lang.ClassNotFoundException: 
org.apache.tika.server.TikaServerCli
   ```
   
   Adding it to the docker-compose file as a passed environment variable 
resolves that. Will make the change in master branch so we can sync up, then I 
think the PR is good to go unless any one else has other issues in their 
testing.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to