« Return to Thread: Resolving JMX host url

Re: Resolving JMX host url

by vorpalarrow :: Rate this Message:

| View in Thread

No need to reply, one of my friends caught the issue. I don't have the specifics because someone else changed it, but my /etc/hosts file on that machine had a mistake in it which caused the issue. Accidentally appending the dns name at the end of the loopback line or something along those lines - blatantly wrong.
 
vorpalarrow wrote:
I have a question concerning, how to configure cruisecontrol:

I am having an issue connecting to a red hat machine through jmx, however all the windows boxes and another redhat box can establish their connections just fine.

How do you change the jmx default host to the ip of the machine rather than loopback?

In net.sourceforge.cruisecontrol.monitoring.CruisecontrolServer
the JMXConnectorFactory.connect(...) is defaulting to localhost for some reason. Every other machine uses the correct ip, but the redhat machine keeps resolving to localhost. Even passing the explicit ip in the url doesn't work either. Its confusing to me.
                             

 « Return to Thread: Resolving JMX host url