glassfish
  1. glassfish
  2. GLASSFISH-16

Setting orb-listener-1.address=127.0.0.1 has no effect

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 9.0pe
    • Fix Version/s: 9.0pe
    • Component/s: orb
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: Linux

    • Issuezilla Id:
      16

      Description

      On Linux box running Fedora Core 2:
      Using milestone 2: glassfish-image-9.0-b09.jar

      These commands seem to have no effect on how the listener binds to the port:

      asadmin set server.iiop-service.iiop-listener.SSL.address=127.0.0.1
      asadmin set server.iiop-service.iiop-listener.SSL_MUTUALAUTH.address=127.0.0.1
      asadmin set server.iiop-service.iiop-listener.orb-listener-1.address=127.0.0.1

      I can verify that my changes are saved, as I can see the value change in the admin GUI, however I can
      still connect to those listeners on the actuall machines IP address and not just via 127.0.0.1 as I would
      expect. The changes are done on a newly created domain with no other config changes.

      How did I test this? For example if the port number for orb-listener-1 is 24801

      1. telnet localhost 24801
        Trying 127.0.0.1...
        Connected to localhost.
        Escape character is '^]'.
        ^]cl
        telnet> cl
        Connection closed.
        ^^^^ That was the expected result

      [dbrice@www2 dbrice]$ telnet www.hostname.com 24801
      Trying 82.X.X.X...
      Connected to www2.outreach.net.
      Escape character is '^]'.
      ^]cl
      telnet> cl
      Connection closed.

      ^^^^ That is wrong, should have got a connection refused message.

      For your reference:

      1. asadmin get "server.iiop-service.iiop-listener.orb-listener-1.*"
        server.iiop-service.iiop-listener.orb-listener-1.address = 127.0.0.1
        server.iiop-service.iiop-listener.orb-listener-1.enabled = true
        server.iiop-service.iiop-listener.orb-listener-1.id = orb-listener-1
        server.iiop-service.iiop-listener.orb-listener-1.port = 24801
        server.iiop-service.iiop-listener.orb-listener-1.security-enabled = false

      Thanks,
      Dan.

        Activity

        Hide
        danbrice added a comment -

        This could be related to issues 17 & 18 that I raised. It is most similar to
        issue 17.

        Show
        danbrice added a comment - This could be related to issues 17 & 18 that I raised. It is most similar to issue 17.
        Hide
        danbrice added a comment -

        Interestingly a working around for issue #18 helps the situation, but doesn't solve it:

        When I add -Dcom.sun.enterprise.server.ss.ASQuickStartup=false to the jvm options, the orb-listener
        -1 works - netstat -a shows it listening only on localhost.

        However the other two SSL listeners still listen on * (all interfaces). So it doesn't solve it all.

        Thanks,
        Dan.

        Show
        danbrice added a comment - Interestingly a working around for issue #18 helps the situation, but doesn't solve it: When I add -Dcom.sun.enterprise.server.ss.ASQuickStartup=false to the jvm options, the orb-listener -1 works - netstat -a shows it listening only on localhost. However the other two SSL listeners still listen on * (all interfaces). So it doesn't solve it all. Thanks, Dan.
        Hide
        Ken Cavanaugh added a comment -

        Will defer this until after AS 9 HCF.

        Show
        Ken Cavanaugh added a comment - Will defer this until after AS 9 HCF.
        Hide
        vince kraemer added a comment -

        Filers and assigned engineers... it is LATER

        Show
        vince kraemer added a comment - Filers and assigned engineers... it is LATER

          People

          • Assignee:
            Ken Cavanaugh
            Reporter:
            danbrice
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: