Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Home
Communities
All Communities
Application Networking and Security
Carbon Black
Enterprise Software
Mainframe Software
Symantec Enterprise
Tanzu
VMware {code}
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
VMware Explore 2025
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware Cloud Foundation Events
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
VMware vSphere
View Only
Community Home
Threads
703K
Library
2.7K
Blogs
0
Events
0
Members
100K
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
How HQ Agent reads rmi server host ip - Help needed
yadepu
Nov 16, 2010 04:28 PM
I am trying to understand how HQ Agent reads the RMI Server IP address. I tried to change in multiple ...
absorba
Nov 17, 2010 12:46 PM
You should be able to take the jmx.url, in your case - service:jmx:rmi:///jndi/rmi://127.0.0.1:6969/jmxrmi ...
1.
How HQ Agent reads rmi server host ip - Help needed
Recommend
yadepu
Posted Nov 16, 2010 04:28 PM
Reply
Reply Privately
Options Dropdown
I am trying to understand how HQ Agent reads the RMI Server IP address. I tried to change in multiple places (conf/wrapper.conf) using -Djava.rmi.server.hostname, still It is trying to connect to jmx.url=service:jmx:rmi:///jndi/rmi://
127.0.0.1
:6969/jmxrmi}]:
I am getting following exception as a result.
org.hyperic.hq.product.MetricUnreachableException: Can't connect to MBeanServer [{jmx.password=springsource, jmx.username=admin, jmx.url=service:jmx:rmi:///jndi/rmi://127.0.0.1:6969/jmxrmi}]: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect]
But I am running the tc server instance on VMware VM (virtual machine), how to overwrite the rmi server ip to reflect the virtual machine (but not the host machine).
Please help me in understanding how it works..
Thanks,
YA
Message was edited by: yadepu
2.
RE: How HQ Agent reads rmi server host ip - Help needed
Recommend
absorba
Posted Nov 17, 2010 12:46 PM
Reply
Reply Privately
Options Dropdown
You should be able to take the jmx.url, in your case - service:jmx:rmi:///jndi/rmi://127.0.0.1:6969/jmxrmi - and pass it in to jconsole. If it does not connect then something is wrong with your jmx url or your mbeans server.
In my experience, once I got the jmx url to work in jconsole it works in hyperic.
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2024. All rights reserved.
Powered by Higher Logic