cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect with JConsole

borzoi
Champ in-the-making
Champ in-the-making
I'm trying and connect with JConsole to my local Alfresco Community 5.0.d.
In JAVA_OPTS, -Dcom.sun.management.jmxremote is set.
In alfresco-global.properties, I've set following properties:

alfresco.rmi.services.port=50500
alfresco.rmi.services.host=127.0.0.1

I open JConsole from JDK 1.8.0.45 bin directory, and I try and connect to the remote process:

service:jmx:rmi:///jndi/rmi://127.0.0.1:50500/alfresco/jmxrmi

using credentials controlRole:change_asap , but I only get a "Connection Failed".
I tried also using "localhost" instead of "127.0.0.1".
Is there any way to debug?
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
JMX has always been an Alfresco Enterprise feature.    But on Community you could still access tomcat's JMX features.

With the EOL of the RMI services in 5.0.  Community no longer binds a RMI registry to port 50500

You can still access Tomcat's JMX features but not via Alfresco's connection.   See Tomcat's docs for further details.

Hello,
Would you please reference and online documentation where it is mentioned that community edition no longer binds to port 50500?
What about the enterprise edition?
I can still see the jmx settings documentation in 5.2 at Connecting through JMX | Alfresco Documentation 

cesarista
World-Class Innovator
World-Class Innovator

Hi:

Maybe this link helps:

How to use JMX in Alfresco - Enabling JMX in Alfresco - zylk 

Regards.

--C.