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

Unable to remove queue: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi #662

Open
jiridanek opened this issue Sep 3, 2023 · 1 comment

Comments

@jiridanek
Copy link
Member

$ /opt/miniconda3/envs/tn/bin/python3 -u /var/dtests/node_data/clients/cli_wrapper.py  -DDTESTS_PID=4374 -DC_KILLTIME=60 -DC_HANG_ANALYSIS_ENA=0 -DC_CRASH_ANALYSIS_ENA=0 -DC_CRASH_FILE_DELETE_ENA=0  java  -jar /var/dtests/node_data/clients/amqx.jar  queue --host 10.0.141.157:1099 --username admin --password admin --action remove --name 'test_direct_transient_text_message' # ecode:255 (exp. True), dur.:0.56 err_cnt:1
[19:00:32] [INFO] dtestlib.Test :: stdout:
  Unable to remove queue: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi
  java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi
  	at java.management.rmi/javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:370)
  	at java.management/javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
  	at com.redhat.amqx.management.AbstractConnectionManager.<init>(AbstractConnectionManager.java:54)
  	at com.redhat.amqx.management.artemis.AbstractArtemisManager.<init>(AbstractArtemisManager.java:36)
  	at com.redhat.amqx.management.artemis.DestinationArtemisManager.<init>(DestinationArtemisManager.java:22)
  	at com.redhat.amqx.management.ManagerFactory.createDestinationManager(ManagerFactory.java:145)
  	at com.redhat.amqx.main.actions.QueueAction.run(QueueAction.java:91)
  	at com.redhat.amqx.main.Main.main(Main.java:52)
  Caused by: javax.naming.NameNotFoundException: jmxrmi
  	at jdk.naming.rmi/com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:136)
  	at java.naming/com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:220)
  	at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:409)
  	at java.management.rmi/javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1839)
  	at java.management.rmi/javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1813)
  	at java.management.rmi/javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:302)
  	... 7 more
@jiridanek
Copy link
Member Author

jiridanek commented Sep 13, 2023

https://issues.redhat.com/browse/RHEL-2144 JMX exception creating connection to: 0.0.0.0; nested exception is: java.net.NoRouteToHostException

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