You can translate the question and the replies:

Issue adding JMX connection in VisualVM

I am trying to add a JMX connection with hostname as localhost and port number as 9999, I am receiving an error **cannot connect to localhost:9999 using service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi** Can someone help me Please let me know if extra info is needed. Thanks, Sandeep.
user
25-05-2017 16:35:57 -0400
code

4 Answers

Hi, I recommend that you perform the following checks before creating a JMX connection in Visual VM: * Virtual DataPort Server should be up and running on port 9999. * If your machine has several IP’s, be sure that you have set correctly the RMI host in the Denodo Platform Control Center. You can find that by navigating to Configure > JVM Options > RMI host. * Be sure that you are providing valid security credentials. * If you have Virtual DataPort Server running on another machine, then instead of using "localhost" you need to provide the IP address or machine name. * If you have proxy configured on your system and you are using Visual VM, then you need to define it by navigating to Tools>Options>Network.   If you continue to face the same error even after performing the above checks then you can probably try connecting to Virtual DataPort Server using jconsole. I was able to use this official documentation link and add a JMX connection in my Visual VM [Using JavaTM VisualVM](https://community.denodo.com/docs/html/browse/6.0/vdp/administration/monitoring_the_virtual_dataport_server/monitoring_with_a_java_management_extensions_jmx_agent/using_javatm_visualvm) I hope this helps you!
Denodo Team
26-05-2017 05:29:27 -0400
code
I followed all the steps you mentioned and gone through Using JavaTM VisualVM. I was able to give the JMX connection to Denodo on my local computer. But I am facing this issue when I am trying to install it on the upper environments (QA and UA)
user
27-06-2017 14:41:32 -0400
I also tried to create a delimited file instead of using the Visual VM. Now I am getting the following error while trying to run "denodomonitor_startup.bat" "Communication error: Failed to retrieve RMIServer stub: javax.naming.Communicati onException [Root exception is java.rmi.ConnectIOException: non-JRMP server at r emote endpoint] Connection error: Failed to retrieve RMIServer stub: javax.naming.CommunicationE xception [Root exception is java.rmi.ConnectIOException: non-JRMP server at remo te endpoint] Connection error: Failed to retrieve RMIServer stub: javax.naming.CommunicationE xception [Root exception is java.rmi.ConnectIOException: non-JRMP server at remo te endpoint] Connection error: Failed to retrieve RMIServer stub: javax.naming.CommunicationE xception [Root exception is java.rmi.ConnectIOException: non-JRMP server at remo te endpoint] vdp resources monitor finished Connection error: Failed to retrieve RMIServer stub: javax.naming.CommunicationE xception [Root exception is java.rmi.ConnectIOException: non-JRMP server at remo te endpoint]" How can I overcome this error.
user
28-06-2017 17:19:55 -0400
Hi, Before starting up the Denodo monitor you need to check the connection parameters to Virtual DataPort Server in the configuration file: <DENODO_MONITOR>/conf/ConfigurationParameters.properties If you have recently modified the IP address/host name of the machine, port number and authentication details you need to reflect the same in the properties "vdp.jmx.host","vdp.jmx.port","vdp.jmx.user" and "vdp.jmx.password". I have found more useful information in the [Denodo Monitor]( https://community.denodo.com/docs/html/browse/6.0/vdp/administration/monitoring_the_virtual_dataport_server/denodo_monitor/denodo_monitor) section of the documentation. If you are a user with support access and you continue having problems dealing with the Denodo Monitor, I would recommend you to raise a support case in the Denodo Support Site (http://support.denodo.com) by attaching the complete log file. Your issue would be analyzed in detail by the Denodo Support team and they will help you to find the solution. Hope this helps you!
Denodo Team
29-06-2017 06:06:36 -0400
code
You must sign in to add an answer. If you do not have an account, you can register here