-
Notifications
You must be signed in to change notification settings - Fork 31
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
[Bug] javax.naming.ConfigurationException: Environment variable CRYOSTAT_JMX_CREDENTIALS_DB_PASSWORD must be set and non-blank #1847
Comments
Hi @Lsq707 !
I wonder if this is some shell difference and that variable isn't getting set. What happens if you try setting it like this? $ CRYOSTAT_JMX_CREDENTIALS_DB_PASSWORD=somesecret sh run-docker.sh |
Hi @andrewazores, Thank you for answering. After executing
I was wondering if by running the run-docker.sh script, I should be able to access the application via localhost:8181 ? Btw, I was referring to this blog: https://developers.redhat.com/blog/2021/01/25/introduction-to-containerjfr-jdk-flight-recorder-for-containers# but it seems outdated. Is there any new user guideline available? |
That error in the log is actually not a problem - what's happening is Cryostat is successfully running, and sees itself on the network, but has JMX authentication enabled and so it fails to connect to itself. You should be able to get to the Cryostat UI at That blog post is indeed out of date. Please check https://cryostat.io for the latest documentation. |
HI @andrewazores i want to try the sample applications but have no authentication |
@Lsq707 sure - the The test credentials are defined within |
Thanks @andrewazores ! But while i am trying to view a recording in grafana
Is this because the firewall block ? |
Can you try manually opening I don't know if there is any "firewall block" involved - that would depend on what firewall you have configured on your machine. It's probably worth mentioning that the |
Able to access via Ok thanks for the advice |
Current Behavior
I try to run the run-docker.sh on macOS with docker 24.0.7 but got following error:
Do i need to set CRYOSTAT_JMX_CREDENTIALS_DB_PASSWORD and how ?
Or is there any issues supporting macOS ?
Expected Behavior
No response
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: