Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot enable executable stack as shared object requires: Permission denied #84

Open
Athou opened this issue Jul 20, 2024 · 0 comments
Open

Comments

@Athou
Copy link

Athou commented Jul 20, 2024

Hi there,

Starting with 4.6.0, CommaFeed is using Semeru instead of Temurin in the Docker image with great success, resulting in memory usage reduction by up to 50%.

However, @nataloko opened an issue today, it seems java doesn't start when the docker host is running on OpenSUSE MicroOS. It worked fine with Temurin.

$> docker run athou/commafeed:latest
libjvm.so preloadLibrary(/opt/java/openjdk/lib/default/libj9vm29.so): /opt/java/openjdk/lib/default/libj9vm29.so: cannot enable executable stack as shared object requires: Permission denied
libjvm.so failed to load: j9vm29

This is the Dockerfile, which I think is pretty standard:

FROM ibm-semeru-runtimes:open-21.0.3_9-jre

EXPOSE 8082

RUN mkdir -p /commafeed/data
VOLUME /commafeed/data

COPY commafeed-server/config.yml.example config.yml
COPY commafeed-server/target/commafeed.jar .

CMD ["java", \
    "-Djava.net.preferIPv4Stack=true", \
    "-Xtune:virtualized", \
    "-Xminf0.05", \
    "-Xmaxf0.1", \
    "-jar", \
    "commafeed.jar", \
    "server", \
    "config.yml"]

Do you have any ideas about what might be the cause of the problem?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant