Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1863

Command line switch interprocess-hc-port doesn't take effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Beta1
    • 7.0.2.Final, 7.1.0.Alpha1
    • Domain Management
    • None

      Rostislav Svoboda reports:

      I tried --pc-port and --interprocess-hc-port args on build from today's sources.
      Argument --pc-port is working as expected, but parameter from --interprocess-hc-port argument isn't reflected. Help says it's port on which the host controller should listen for communication from the process controller.

      Shouldn't be there connection 127.0.0.1:11111 <--> 127.0.0.1:22222 in my example below ?

      $ ./bin/domain.sh --pc-port=11111 --interprocess-hc-port=22222

      $ netstat -natup | grep java
      tcp 0 0 127.0.0.1:9999 0.0.0.0:* LISTEN 31299/java
      tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 31329/java
      tcp 0 0 127.0.0.1:1240 0.0.0.0:* LISTEN 31335/java
      tcp 0 0 127.0.0.1:1241 0.0.0.0:* LISTEN 31335/java
      tcp 0 0 127.0.0.1:1090 0.0.0.0:* LISTEN 31329/java
      tcp 0 0 127.0.0.1:1091 0.0.0.0:* LISTEN 31329/java
      tcp 0 0 127.0.0.1:8230 0.0.0.0:* LISTEN 31335/java
      tcp 0 0 127.0.0.1:9990 0.0.0.0:* LISTEN 31299/java
      tcp 0 0 127.0.0.1:11111 0.0.0.0:* LISTEN 31284/java
      tcp 0 0 127.0.0.1:11111 127.0.0.1:49368 ESTABLISHED 31284/java
      tcp 0 0 127.0.0.1:9999 127.0.0.1:45597 ESTABLISHED 31299/java
      tcp 0 0 127.0.0.1:45597 127.0.0.1:9999 ESTABLISHED 31329/java
      tcp 0 0 127.0.0.1:48827 127.0.0.1:9999 ESTABLISHED 31335/java
      tcp 0 0 127.0.0.1:49368 127.0.0.1:11111 ESTABLISHED 31299/java
      tcp 0 0 127.0.0.1:9999 127.0.0.1:48827 ESTABLISHED 31299/java

      NOTE: SPOJENO == ESTABLISHED, PID 31284 is process-controller, PID 31299 is host-controller

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: