You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Toni Ojsteršek <to...@gmail.com> on 2020/02/21 14:28:03 UTC
Apache Tika Server Warning
Hi
I am not so expert with this stuff but i need Apache tika for one file
managament system. For now working but when i start apache tika as server in
CMD (java -jar C:\apache-tika\tika-server-1.23.jar -h localhost) i get two
warning:
1. WARNING: J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
2. WARNING: org.xerial's sqlite-jdbc is not loaded.
Please provide the jar on your classpath to parse sqlite files.
See tika-parsers/pom.xml for the correct version.
But i dont know what is this pom.xml file or where i can find it.
ScreenShot of Warning
http://apache-tika-users.1629097.n2.nabble.com/file/t395351/SharedScreenshot.jpg
What can be solution or step by step?
KR. Toni
Re: Apache Tika Server Warning
Posted by Tilman Hausherr <TH...@t-online.de>.
Your command line will likely be something like
java -cp
"tika-server-1.23.jar;jai-imageio-core-1.4.0.jar;jai-imageio-jpeg2000-1.3.0.jar;sqlite-jdbc-3.28.0.jar"
org.apache.tika.server.TikaServerCli -h localhost
Tilman
Am 21.02.2020 um 19:50 schrieb Tim Allison:
>
> 1) If you want to extract inline images from PDFs or render PDFs and
> you are ok with the licenses, grab the jars specified in PDFBox's pom:
> https://svn.apache.org/viewvc/pdfbox/trunk/parent/pom.xml?view=markup#l106
> ... that is go to https://mvnrepository.com and search for
> "jai-imageio-core"
> (https://repo1.maven.org/maven2/com/github/jai-imageio/jai-imageio-core/1.4.0/jai-imageio-core-1.4.0.jar)
> and "jai-imageio-jpeg2000"
> (https://repo1.maven.org/maven2/com/github/jai-imageio/jai-imageio-jpeg2000/1.3.0/jai-imageio-jpeg2000-1.3.0.jar).
> These are not bundled because their licenses are incompatible with the
> Apache 2.0 license.
>
> 2) If you want to process sqlite files, go here: for the version of
> Tika that you're using:
> https://github.com/apache/tika/blob/master/tika-parsers/pom.xml#L407
> and get the version then go to maven central and download the correct
> version of the jar, e.g.:
> https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.28.0/sqlite-jdbc-3.28.0.jar
> This is not bundled with Tika because in includes native libs.
>
>
> On Fri, Feb 21, 2020 at 9:28 AM Toni Ojsteršek
> <toni.ojstersek93@gmail.com <ma...@gmail.com>> wrote:
>
> Hi
>
> I am not so expert with this stuff but i need Apache tika for one file
> managament system. For now working but when i start apache tika as
> server in
> CMD (java -jar C:\apache-tika\tika-server-1.23.jar -h localhost) i
> get two
> warning:
>
> 1. WARNING: J2KImageReader not loaded. JPEG2000 files will not be
> processed.
> See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
> for optional dependencies.
>
> 2. WARNING: org.xerial's sqlite-jdbc is not loaded.
> Please provide the jar on your classpath to parse sqlite files.
> See tika-parsers/pom.xml for the correct version.
>
> But i dont know what is this pom.xml file or where i can find it.
>
> ScreenShot of Warning
> http://apache-tika-users.1629097.n2.nabble.com/file/t395351/SharedScreenshot.jpg
>
> What can be solution or step by step?
>
> KR. Toni
>
Re: Apache Tika Server Warning
Posted by Tim Allison <ta...@apache.org>.
1) If you want to extract inline images from PDFs or render PDFs and you
are ok with the licenses, grab the jars specified in PDFBox's pom:
https://svn.apache.org/viewvc/pdfbox/trunk/parent/pom.xml?view=markup#l106
... that is go to https://mvnrepository.com and search for
"jai-imageio-core" (
https://repo1.maven.org/maven2/com/github/jai-imageio/jai-imageio-core/1.4.0/jai-imageio-core-1.4.0.jar)
and "jai-imageio-jpeg2000" (
https://repo1.maven.org/maven2/com/github/jai-imageio/jai-imageio-jpeg2000/1.3.0/jai-imageio-jpeg2000-1.3.0.jar).
These are not bundled because their licenses are incompatible with the
Apache 2.0 license.
2) If you want to process sqlite files, go here: for the version of Tika
that you're using:
https://github.com/apache/tika/blob/master/tika-parsers/pom.xml#L407 and
get the version then go to maven central and download the correct version
of the jar, e.g.:
https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.28.0/sqlite-jdbc-3.28.0.jar
This is not bundled with Tika because in includes native libs.
On Fri, Feb 21, 2020 at 9:28 AM Toni Ojsteršek <to...@gmail.com>
wrote:
> Hi
>
> I am not so expert with this stuff but i need Apache tika for one file
> managament system. For now working but when i start apache tika as server
> in
> CMD (java -jar C:\apache-tika\tika-server-1.23.jar -h localhost) i get two
> warning:
>
> 1. WARNING: J2KImageReader not loaded. JPEG2000 files will not be
> processed.
> See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
> for optional dependencies.
>
> 2. WARNING: org.xerial's sqlite-jdbc is not loaded.
> Please provide the jar on your classpath to parse sqlite files.
> See tika-parsers/pom.xml for the correct version.
>
> But i dont know what is this pom.xml file or where i can find it.
>
> ScreenShot of Warning
>
> http://apache-tika-users.1629097.n2.nabble.com/file/t395351/SharedScreenshot.jpg
>
> What can be solution or step by step?
>
> KR. Toni
>