Insecure JMX connection - Insecure JMX connection - Alfresco - Alfresco Sync Service - Alfresco/Alfresco-Sync-Service/3.0/Alfresco-Sync-Service/Alfresco-Sync-Service/Configure/Connect-to-Sync-Service-through-JMX/Insecure-JMX-connection - 3.0

Alfresco Sync Service

Platform
Alfresco
Product
Alfresco Sync Service
Release
3.0
ft:lastPublication
2026-05-06T19:49:28.818000
ft:locale
en-US
ArchiveStatus
Archived

You can start the Sync Service with JMX remote enabled and all security disabled, but this isn't recommended for production systems.

  1. Start the service with the following Java options by substituting the required host name and ports:

    -Dcom.sun.management.jmxremote=true
    -Djava.rmi.server.hostname=<sync-service-IP>
    -Dcom.sun.management.jmxremote.port=<jmx-remote-port>
    -Dcom.sun.management.jmxremote.rmi.port=<jmx-rmi-port>
    -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=false
    

    For example:

    cd <installLocation>/service-sync
    
    java -Xmx2G -Dcom.sun.management.jmxremote=true -Djava.rmi.server.hostname=34.253.209.238
    -Dcom.sun.management.jmxremote.port=50800 -Dcom.sun.management.jmxremote.rmi.port=50801
    -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
    -Djava.io.tmpdir=/var/tmp/dsync -cp postgresql.jar:service-sync-3.0.x.jar
    org.alfresco.service.sync.dropwizard.SyncService server config.yml
    

    Note

    Make sure the ports for com.sun.management.jmxremote.port and com.sun.management.jmxremote.rmi.port are open. Also, replace service-sync-3.0.x.jar with your exact version.

    Note

    For production systems, use both SSL client certificates to authenticate the client host, and password authentication for user management, by enabling com.sun.management.jmxremote.authenticate and com.sun.management.jmxremote.ssl.

  2. Start JConsole by typing the following command:

    jconsole
    
  3. Select Remote Process, and enter the Sync Service IP, and com.sun.management.jmxremote.port value, as shown in the example below.

  4. Click Connect.

    JConsole - blank credentials