<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Random java port | Alfresco 6.1.1 (r9d03d2fd-b168) in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/random-java-port-alfresco-6-1-1-r9d03d2fd-b168/m-p/85450#M25941</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I see a random (change every restart of tomcat) java port, any idea which Alfresco modul/service is listen there?&lt;/P&gt;&lt;PRE&gt;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          
&lt;STRONG&gt;tcp6       0      0 :::36275&lt;/STRONG&gt;                :::*                    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&lt;/PRE&gt;&lt;P&gt;After restart...&lt;/P&gt;&lt;PRE&gt;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          
&lt;STRONG&gt;tcp6       0      0 :::45573&lt;/STRONG&gt;                :::*                    LISTEN      112        344900     29588/java&lt;/PRE&gt;&lt;PRE&gt;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.&lt;/PRE&gt;</description>
    <pubDate>Wed, 22 Jul 2020 16:26:13 GMT</pubDate>
    <dc:creator>samuelw</dc:creator>
    <dc:date>2020-07-22T16:26:13Z</dc:date>
    <item>
      <title>Random java port | Alfresco 6.1.1 (r9d03d2fd-b168)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/random-java-port-alfresco-6-1-1-r9d03d2fd-b168/m-p/85450#M25941</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I see a random (change every restart of tomcat) java port, any idea which Alfresco modul/service is listen there?&lt;/P&gt;&lt;PRE&gt;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          
&lt;STRONG&gt;tcp6       0      0 :::36275&lt;/STRONG&gt;                :::*                    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&lt;/PRE&gt;&lt;P&gt;After restart...&lt;/P&gt;&lt;PRE&gt;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          
&lt;STRONG&gt;tcp6       0      0 :::45573&lt;/STRONG&gt;                :::*                    LISTEN      112        344900     29588/java&lt;/PRE&gt;&lt;PRE&gt;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.&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Jul 2020 16:26:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/random-java-port-alfresco-6-1-1-r9d03d2fd-b168/m-p/85450#M25941</guid>
      <dc:creator>samuelw</dc:creator>
      <dc:date>2020-07-22T16:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Random java port | Alfresco 6.1.1 (r9d03d2fd-b168)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/random-java-port-alfresco-6-1-1-r9d03d2fd-b168/m-p/85451#M25942</link>
      <description>&lt;P&gt;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).&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 08:16:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/random-java-port-alfresco-6-1-1-r9d03d2fd-b168/m-p/85451#M25942</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2020-07-23T08:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Random java port | Alfresco 6.1.1 (r9d03d2fd-b168)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/random-java-port-alfresco-6-1-1-r9d03d2fd-b168/m-p/85452#M25943</link>
      <description>&lt;P&gt;Learn from day to day.&lt;/P&gt;&lt;P&gt;Initial I use this script [1] to install Alfresco and it set the jmxremote=true.&lt;/P&gt;&lt;PRE&gt;JAVA_OPTS="${JAVA_OPTS} -Dalfresco.home=${ALF_HOME} -Dcom.sun.management.jmxremote=true"&lt;/PRE&gt;&lt;P&gt;If i understand this correct, Alfresco do not need jmxremote, right?&lt;/P&gt;&lt;P&gt;[1] &lt;A href="https://github.com/loftuxab/alfresco-ubuntu-install" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/loftuxab/alfresco-ubuntu-install&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Set -Dcom.sun.management.jmxremote=false, the random port is still there.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;/opt/alfresco# ps ax | grep "jmxremote=true"
   3865 pts/0    S+     0:00 grep --color=auto jmxremote=true&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:26:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/random-java-port-alfresco-6-1-1-r9d03d2fd-b168/m-p/85452#M25943</guid>
      <dc:creator>samuelw</dc:creator>
      <dc:date>2020-07-28T13:26:45Z</dc:date>
    </item>
  </channel>
</rss>

