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

bitnami/jmx-exporter:1.1.0 Unable to access jarfile jmx_prometheus_httpserver.jar #75684

Closed
shrabok-bp opened this issue Dec 10, 2024 · 3 comments · Fixed by #75698
Closed

bitnami/jmx-exporter:1.1.0 Unable to access jarfile jmx_prometheus_httpserver.jar #75684

shrabok-bp opened this issue Dec 10, 2024 · 3 comments · Fixed by #75698
Assignees
Labels
jmx-exporter solved tech-issues The user has a technical issue about an application

Comments

@shrabok-bp
Copy link

shrabok-bp commented Dec 10, 2024

Name and Version

bitnami/jmx-exporter:1.1.0

What architecture are you using?

amd64

What steps will reproduce the bug?

When the latest container (v1.1.0) is run, the entrypoint fails to find the jmx_prometheus_httpserver.jar file

$ docker run bitnami/jmx-exporter:latest         
Resolving "bitnami/jmx-exporter" using unqualified-search registries (/etc/containers/registries.conf.d/999-podman-machine.conf)
Trying to pull docker.io/bitnami/jmx-exporter:latest...
Getting image source signatures
Copying blob sha256:e1b661bfa13fc5767e3327bc6af023e4268640eceb8aff79913fd2e28773c900
Copying config sha256:650cfe4413f9ba62edb20fd208fae5fc52feab0337f4f0afd08d3c6f1337b363
Writing manifest to image destination
Error: Unable to access jarfile jmx_prometheus_httpserver.jar

Accessing the container you can see the file is missing

$ docker run -it --entrypoint /bin/bash bitnami/jmx-exporter:latest
1001@80ca1474ccc6:/opt/bitnami/jmx-exporter$ ls
examples  jmx_prometheus_javaagent.jar  jmx_prometheus_standalone.jar  licenses
1001@80ca1474ccc6:/opt/bitnami/jmx-exporter$ 

What is the expected behavior?

When running on the previous version the jmx_prometheus_httpserver.jar exists and the container runs.

What do you see instead?

$ docker run bitnami/jmx-exporter:latest         
Resolving "bitnami/jmx-exporter" using unqualified-search registries (/etc/containers/registries.conf.d/999-podman-machine.conf)
Trying to pull docker.io/bitnami/jmx-exporter:latest...
Getting image source signatures
Copying blob sha256:e1b661bfa13fc5767e3327bc6af023e4268640eceb8aff79913fd2e28773c900
Copying config sha256:650cfe4413f9ba62edb20fd208fae5fc52feab0337f4f0afd08d3c6f1337b363
Writing manifest to image destination
Error: Unable to access jarfile jmx_prometheus_httpserver.jar
@shrabok-bp shrabok-bp added the tech-issues The user has a technical issue about an application label Dec 10, 2024
@github-actions github-actions bot added the triage Triage is needed label Dec 10, 2024
@carrodher
Copy link
Member

I was able to reproduce the issue:

$ docker run -it bitnami/jmx-exporter:1.1.0 bash
Error: Unable to access jarfile jmx_prometheus_httpserver.jar

VS

$ docker run -it bitnami/jmx-exporter:1.0.1 bash
Usage: WebServer <[hostname:]port> <yaml configuration file>

We'll look into it and update this thread.

@carrodher carrodher added in-progress and removed triage Triage is needed labels Dec 11, 2024
@github-actions github-actions bot assigned alvneiayu and unassigned javsalgar Dec 11, 2024
@surendragalwa
Copy link

+1

@vdupain
Copy link

vdupain commented Dec 11, 2024

jmx_prometheus_httpserver.jar has been renaming to jmx_prometheus_standalone.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jmx-exporter solved tech-issues The user has a technical issue about an application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants