Skip to content

Image tag 1.15 is broken: Error: Invalid or corrupt jarfile /tika-server-1.15.jar #11

Description

@aklinkert

Hey there,

I just tried to use the 1.16 tag from Docker Hub, but it seems to be broken:

sudo docker run --rm -it logicalspark/docker-tikaserver:1.15
Unable to find image 'logicalspark/docker-tikaserver:1.15' locally
1.15: Pulling from logicalspark/docker-tikaserver
75c416ea735c: Pull complete 
c6ff40b6d658: Pull complete 
a7050fc1f338: Pull complete 
f0ffb5cf6ba9: Pull complete 
be232718519c: Pull complete 
1fb511f2b87f: Pull complete 
Digest: sha256:1d25f830709d6575995519bd71981034aa51e4520173023a6259dbdd8f031ac7
Status: Downloaded newer image for logicalspark/docker-tikaserver:1.15
Error: Invalid or corrupt jarfile /tika-server-1.15.jar

Activity

  1. rouazana commented on Oct 10, 2018

    @rouazana

    Hi, there is the same issue with 1.19, while 1.18 is working fine. Do you want I create a new issue for this?

  2. rouazana commented on Oct 11, 2018

    @rouazana

    Seems ok for me with 1.19.1.

  3. peter279k commented on Aug 8, 2019

    @peter279k

    I've the same issue with 1.19 and 1.15.

    After using the 1.20 version, it's worked successfully. The result logs are as follows:

    docker pull logicalspark/docker-tikaserver:1.20
    
    docker run -it --network=host 3c1d
    Aug 08, 2019 8:13:29 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
    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.
    
    Aug 08, 2019 8:13:29 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
    WARNING: Tesseract OCR is installed and will be automatically applied to image files unless
    you've excluded the TesseractOCRParser from the default parser.
    Tesseract may dramatically slow down content extraction (TIKA-2359).
    As of Tika 1.15 (and prior versions), Tesseract is automatically called.
    In future versions of Tika, users may need to turn the TesseractOCRParser on via TikaConfig.
    Aug 08, 2019 8:13:29 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
    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.
    INFO  Starting Apache Tika 1.20 server
    INFO  Setting the server's publish address to be http://0.0.0.0:9998/
    INFO  Logging initialized @1440ms to org.eclipse.jetty.util.log.Slf4jLog
    INFO  jetty-9.4.z-SNAPSHOT; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 1.8.0_191-8u191-b12-0ubuntu0.18.04.1-b12
    INFO  Started ServerConnector@73e22a3d{HTTP/1.1,[http/1.1]}{0.0.0.0:9998}
    INFO  Started @1549ms
    WARN  Empty contextPath
    INFO  Started o.e.j.s.h.ContextHandler@1e04fa0a{/,null,AVAILABLE}
    INFO  Started Apache Tika server at http://0.0.0.0:9998/
    
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions