Skip to content

Facing issue post upgrading the CoreNLP from 4.5.2 to 4.5.8 #1489

@mishranilesh012

Description

@mishranilesh012

We are creating image for CoreNLP from below DockerFile and making it run as a container on an instance. However, we observed that corenlp is working as expected on commercial linux VMs but failing on FIPS enabled linux VMs.

Note :- Issue is occurring only on corenlp version 4.5.8 but working fine with version 4.5.2

Error :-
"Can't find /corenlp"

Please reach out to our official mail ids given below. We are licensed customer.

(Nilesh.Mishra@icertis.com)
(Anjul.Tripathi@icertis.com)
(Rakesh.Kalange@icertis.com)

`FROM ubuntu:22.04

RUN apt update &&
apt-get install -y wget &&
apt install -y openjdk-11-jre-headless &&
apt-get -y install ubuntu-advantage-tools &&
apt-get install -y unzip

RUN wget http://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip --no-check-certificate;
unzip stanford-corenlp-4.5.8.zip;
rm -f stanford-corenlp-4.5.8.zip;
mv stanford-corenlp-4.5.8 CoreNLP;
cd CoreNLP;
export CLASSPATH=""; for file in find . -name "*.jar"; do export CLASSPATH="$CLASSPATH:realpath $file"; done

RUN apt-get remove -y wget unzip

WORKDIR CoreNLP

CMD java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 100000 -maxCharLength 2000000 -preload tokenize,ssplit,pos,lemma,ner,depparse`

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