AnsweredAssumed Answered

Remote jconsole access - Connection Failed

Question asked by matt.bennett on Dec 3, 2010
Latest reply on Dec 6, 2010 by matt.bennett

I'm trying to connect to my alfresco installation using jconsole. The server doesn't have a GUI so I'm connecting remotely from my laptop, and I'm totally new to JMX so quite possibly making a rookie mistake.

I'm specifying service:jmx:rmi:///jndi/rmi://my-server:50500/alfresco/jmxrmi as the remote service and authenticating as controlRole:change_asap as per [1], but getting a Connection Failed error. The port is open.

I've not yet changed the password in alfresco-jmxrmi.password, and I've also not moved it to $JRE/lib/management/jmxremote.access as referenced in its comments – this seems like an out of date instruction because the filename is different.

I'm running Alfresco Community 3.3 on sun-java6-jdk, and my laptop's jconsole version is as follows:

mjb-mbp:~ matt$ jconsole -version
JConsole version "1.6.0_22-b04-307"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)

Is my remote process incorrect? Or have I missed something else?

Many thanks