glassfish
  1. glassfish
  2. GLASSFISH-18199

Remote EJB lookup does not work when GF runs on Fedora

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Component/s: orb
    • Labels:
      None
    • Environment:

      Fedora 16

      Description

      When running GF 3.1.1 on Linux remote lookups are not working. The effect is that the client just waits (longer than 30 minutes) without any exception.

      For reproducing please deploy the "Interceptor stateless" sample coming with Netbeans into Glassfish 3.1.1 and run the attached client.

      When running GF 3.1.1 on Windows and the client on Linux everything is fine.

      I would be very grateful if somebody could have a look into this since my project relies quite a lot on remote connectivity.

        Issue Links

          Activity

          Hide
          ztangm added a comment -

          Can be closed, I solved the problem:

          If you have a /etc/hosts file like

          127.0.0.1 localhost.localdomain localhost YOUR_HOSTNAME

          it works perfectly with GF 2, but with GF 3 only with the client running on the same machine.

          What you need in your /etc/hosts to make GF 3 happy is

          127.0.0.1 localhost.localdomain localhost
          YOUR_IP YOUR_HOSTNAME

          Not really a glassfish bug, but good to know anyway...

          Show
          ztangm added a comment - Can be closed, I solved the problem: If you have a /etc/hosts file like 127.0.0.1 localhost.localdomain localhost YOUR_HOSTNAME it works perfectly with GF 2, but with GF 3 only with the client running on the same machine. What you need in your /etc/hosts to make GF 3 happy is 127.0.0.1 localhost.localdomain localhost YOUR_IP YOUR_HOSTNAME Not really a glassfish bug, but good to know anyway...
          Hide
          Harshad Vilekar added a comment -

          3.1.2 doc set is updated by the doc team to reflect the hosts file entry.

          Show
          Harshad Vilekar added a comment - 3.1.2 doc set is updated by the doc team to reflect the hosts file entry.

            People

            • Assignee:
              Harshad Vilekar
              Reporter:
              ztangm
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: