I am receiving the following error, where I understand that the connection was refused. I used the default port of 1099 as in the tutorial. Has anyone got this to work under Netbeans 6.7.1?
Well, netbeans is running the client, but... what is the server? Most application servers don't, by default, run the RMI connector, since it expects you to get to the MBean server via JNDI. And as for the JVM itself, that too, isn't running by default, as it is expected that you go through the ManagementFactory.
So... you need to confirm that you are running the RMI connector on the server, to be able to use it from the client.