Skip to content

MetFragREST reuqires hardcoded /tmp #115

@sneumann

Description

@sneumann

Hi,

@jkuan1 submitted a PR to disable ChemSpider. He also fixed an issue with RESULTS_FOLDER = System.getProperty("java_io_tmpdir"); that didn't work, so he hardcoded /tmp and things worked smoothly
7aa46d7

I still haven't found why that is necessary when running in the embedded tomcat server.
I tried asking what the java process thinks its tmpdir would be: jinfo PROCESSID | grep "java.io.tmpdir"
and it says java.io.tmpdir=/tmp.

I also tried supplying java -Djava.io.tmpdir=/tmp -Dserver.port=8090 -jar MetFragRest-2.5.0.jar
to no avail. Running on openjdk 11.0.18 2023-01-17.

For now, I am using Justin's workaround.

Yours,
Steffen

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