RuntimeError: Unable to start Tika server.
See original GitHub issueI get the following error:
2019-07-31 00:54:21,492 [MainThread ] [INFO ] Retrieving http://search.maven.org/remotecontent?filepath=org/apache/tika/tika-server/1.19/tika-server-1.19.jar to /var/folders/l0/v73fdsmn7zq8kdq1xp7wbppw0000gn/T/tika-server.jar.
2019-07-31 00:55:14,176 [MainThread ] [INFO ] Retrieving http://search.maven.org/remotecontent?filepath=org/apache/tika/tika-server/1.19/tika-server-1.19.jar.md5 to /var/folders/l0/v73fdsmn7zq8kdq1xp7wbppw0000gn/T/tika-server.jar.md5.
2019-07-31 00:55:14,633 [MainThread ] [WARNI] Failed to see startup log message; retrying...
2019-07-31 00:55:19,638 [MainThread ] [WARNI] Failed to see startup log message; retrying...
2019-07-31 00:55:24,641 [MainThread ] [WARNI] Failed to see startup log message; retrying...
2019-07-31 00:55:29,642 [MainThread ] [ERROR] Tika startup log message not received after 3 tries.
2019-07-31 00:55:29,644 [MainThread ] [ERROR] Failed to receive startup confirmation from startServer.
Not sure what causes this. I checked and I have Java 8 update 221
on Mac OS X El Capitan v10.11.06
installed. Does anyone know how I can solve this problem?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Use tika with python, runtimeerror: unable to start tika server
I gave up using TIKA Server, instead, I used TikaApp to solve the problem. "tika_client = TikaApp(file_jar = ''(where i have stored the...
Read more >RuntimeError: Unable to start Tika server. · Issue #353 - GitHub
I created a function that parses a PDF file using TIKA in a service and when I tried to dockerize it, it displays...
Read more >tika · PyPI
A Python port of the Apache Tika library that makes Tika available using the Tika REST Server. This makes Apache Tika available as...
Read more >Tika PDF to text, Unable to start tika server, Extract text Python ...
") raise RuntimeError ("Unable to start Tika server."). The issue is that when testing the application in the terminal everything works correctly, but...
Read more >How to Extract Text from PDF - Towards Data Science
Apache Tika has a python library which apparently lets you extract text ... hence I remained at: “RuntimeError: Unable to start Tika server....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To get this working in a disconnected environment, I had to download a tika server file and set the TIKA_SERVER_JAR to
TIKA_SERVER_JAR="file:///home/user/tika-server.jar"
which successfully tricked python-tika to “download” this file and move it to /tmp/tika-server.jar and run as background process. This was the only way I could get this to work without the internet. @ErfPy hope this helps.P.S. make sure you set env variable before you import tika package