Hi,
I see a random (change every restart of tomcat) java port, any idea which Alfresco modul/service is listen there?
netstat -tulpen | grep java tcp6 0 0 127.0.0.1:8009 :::* LISTEN 112 314340 28571/java tcp6 0 0 127.0.0.1:7983 :::* LISTEN 112 316328 28693/java tcp6 0 0 127.0.0.1:8080 :::* LISTEN 112 314330 28571/java tcp6 0 0 :::36275 :::* LISTEN 112 313296 28571/java tcp6 0 0 127.0.0.1:8983 :::* LISTEN 112 314519 28693/java tcp6 0 0 127.0.0.1:8443 :::* LISTEN 112 314332 28571/java tcp6 0 0 127.0.0.1:8005 :::* LISTEN 112 325507 28571/java
After restart...
netstat -tulpen | grep java tcp6 0 0 127.0.0.1:8009 :::* LISTEN 112 344909 29588/java tcp6 0 0 127.0.0.1:7983 :::* LISTEN 112 344956 29715/java tcp6 0 0 127.0.0.1:8080 :::* LISTEN 112 345564 29588/java tcp6 0 0 127.0.0.1:8983 :::* LISTEN 112 347356 29715/java tcp6 0 0 127.0.0.1:8443 :::* LISTEN 112 345566 29588/java tcp6 0 0 127.0.0.1:8005 :::* LISTEN 112 356690 29588/java tcp6 0 0 :::45573 :::* LISTEN 112 344900 29588/java
telnet 127.0.0.1 45573 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. quit Connection closed by foreign host.
Can you provide the Java Opts / Command Line arguments with which Tomcat/Alfresco has been started? If you have enabled JMX, then a random port may be allocated for JMX access (in addition to a more common port handling RMI registry so that the JMX port can be dynamically looked up by clients).
Learn from day to day.
Initial I use this script [1] to install Alfresco and it set the jmxremote=true.
JAVA_OPTS="${JAVA_OPTS} -Dalfresco.home=${ALF_HOME} -Dcom.sun.management.jmxremote=true"
If i understand this correct, Alfresco do not need jmxremote, right?
[1] https://github.com/loftuxab/alfresco-ubuntu-install
EDIT:
Set -Dcom.sun.management.jmxremote=false, the random port is still there.
/opt/alfresco# ps ax | grep "jmxremote=true" 3865 pts/0 S+ 0:00 grep --color=auto jmxremote=true
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.