jmx.remote.x.request.timeout

Hi,

I'm currently trying to set a timeout when connecting to a server (in JDK 1.5) because the default behavior just takes way too much time

Environment.put(JMXConnector.CREDENTIALS, strPassword);

Environment.put("jmx.remote.x.request.timeout","5");

m_jmxConnection= JMXConnectorFactory.connect(url, Environment);

However, when I tried connecting to a server that is down, the timeout still seems to be taking way too long. Is this parameter not supported then?

Thanks

[565 byte] By [Le0a] at [2007-11-27 5:16:41]
# 1
I don't know anything about the property you are mentioning but you might want to check this out: http://weblogs.java.net/blog/emcmanus/archive/2007/05/making_a_jmx_co.htmlIt is a very different approach to the property-one.Regards,Eske
esorta at 2007-7-12 10:39:28 > top of Java-index,Core,Monitoring & Management...
# 2

In fact that property only applies to already-established connections, and only with the JMXMP connector (not the RMI connector).

The java.net blog infrastructure is somewhat buggy. I updated that blog entry to correct a bug, and the new URL is <http://weblogs.java.net/blog/emcmanus/archive/2007/05/making_a_jmx_co_1.html>, but there doesn't seem to be any way for me to get rid of the original version that you linked to. Grrr.

emcmanusa at 2007-7-12 10:39:28 > top of Java-index,Core,Monitoring & Management...