glassfish
  1. glassfish
  2. GLASSFISH-17195

GMS fails to initialize due to GMSException: can not find a first InetAddress

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Windows 7, JDK 7, Wireless Network Interface, GlassFish 3.1.1

      Description

      Created a 2-instance cluster using GlassFish 3.1.1 on Windows 7/JDK7 and starting the cluster/instances gives the following error:

      [#|2011-08-16T10:59:17.116-0700|CONFIG|glassfish3.1.1|ShoalLogger|_ThreadID=1;_ThreadName=Thread-2;|
      GrizzlyNetworkManager Configuration
      BIND_INTERFACE_ADDRESS:null NetworkInterfaceName:null
      TCPSTARTPORT..TCPENDPORT:9090..9200
      MULTICAST_ADDRESS:MULTICAST_PORT:228.9.143.78:9635 MULTICAST_PACKET_SIZE:65536 MULTICAST_TIME_TO_LIV
      E: default
      FAILURE_DETECT_TCP_RETRANSMIT_TIMEOUT(ms):10000
      ThreadPool CORE_POOLSIZE:20 MAX_POOLSIZE:50 POOL_QUEUE_SIZE:4096 KEEP_ALIVE_TIME(ms):60000
      HIGH_WATER_MARK:1024 NUMBER_TO_RECLAIM:10 MAX_PARALLEL:15
      START_TIMEOUT(ms):15000 WRITE_TIMEOUT(ms):10000
      MAX_WRITE_SELECTOR_POOL_SIZE:30
      VIRTUAL_MULTICAST_URI_LIST:null

      #]

      [#|2011-08-16T10:59:17.157-0700|INFO|glassfish3.1.1|grizzly|_ThreadID=20;_ThreadName=Thread-2;|GRIZZ
      LY0001: Starting Grizzly Framework 1.9.36 - 8/16/11 10:59 AM|#]

      [#|2011-08-16T10:59:17.184-0700|CONFIG|glassfish3.1.1|ShoalLogger|_ThreadID=1;_ThreadName=Thread-2;|
      Grizzly controller listening on /0:0:0:0:0:0:0:0:9179. Controller started in 37 ms|#]

      [#|2011-08-16T10:59:17.422-0700|SEVERE|glassfish3.1.1|javax.org.glassfish.gms.org.glassfish.gms|_Thr
      eadID=1;_ThreadName=Thread-2;|GMSAD1017: GMS failed to start. See stack trace for additional informa
      tion.
      com.sun.enterprise.ee.cms.core.GMSException: failed to join group c1
      at com.sun.enterprise.ee.cms.impl.base.GMSContextImpl.join(GMSContextImpl.java:181)
      at com.sun.enterprise.ee.cms.impl.common.GroupManagementServiceImpl.join(GroupManagementServ
      iceImpl.java:382)
      at org.glassfish.gms.GMSAdapterImpl.initializeGMS(GMSAdapterImpl.java:576)
      at org.glassfish.gms.GMSAdapterImpl.initialize(GMSAdapterImpl.java:199)
      at org.glassfish.gms.bootstrap.GMSAdapterService.loadModule(GMSAdapterService.java:218)
      at org.glassfish.gms.bootstrap.GMSAdapterService.checkCluster(GMSAdapterService.java:192)
      at org.glassfish.gms.bootstrap.GMSAdapterService.postConstruct(GMSAdapterService.java:136)
      at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
      at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
      at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
      at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
      at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
      at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
      at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:253)
      at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)
      at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:136)
      at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
      at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:6
      3)
      at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.jav
      a:69)
      at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:1
      17)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
      at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
      Caused by: com.sun.enterprise.ee.cms.core.GMSException: initialization failure
      at com.sun.enterprise.mgmt.ClusterManager.<init>(ClusterManager.java:142)
      at com.sun.enterprise.ee.cms.impl.base.GroupCommunicationProviderImpl.initializeGroupCommuni
      cationProvider(GroupCommunicationProviderImpl.java:164)
      at com.sun.enterprise.ee.cms.impl.base.GMSContextImpl.join(GMSContextImpl.java:175)
      ... 25 more
      Caused by: java.io.IOException: can not find a first InetAddress
      at com.sun.enterprise.mgmt.transport.grizzly.GrizzlyNetworkManager.start(GrizzlyNetworkManag
      er.java:376)
      at com.sun.enterprise.mgmt.ClusterManager.<init>(ClusterManager.java:140)
      ... 27 more

      #]

      Here are the wireless network settings:

      D:\tools\glassfish\3.1.1\ose-glassfish3-full>ipconfig /all

      Windows IP Configuration

      Host Name . . . . . . . . . . . . : ARUNGUP-LAP
      Primary Dns Suffix . . . . . . . : st-users.us.oracle.com
      Node Type . . . . . . . . . . . . : Hybrid
      IP Routing Enabled. . . . . . . . : No
      WINS Proxy Enabled. . . . . . . . : No
      DNS Suffix Search List. . . . . . : st-users.us.oracle.com
      us.oracle.com

      Ethernet adapter Bluetooth Network Connection:

      Media State . . . . . . . . . . . : Media disconnected
      Connection-specific DNS Suffix . :
      Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
      Physical Address. . . . . . . . . : 70-F1-A1-9B-D6-3C
      DHCP Enabled. . . . . . . . . . . : Yes
      Autoconfiguration Enabled . . . . : Yes

      Wireless LAN adapter Wireless Network Connection:

      Connection-specific DNS Suffix . : us.oracle.com
      Description . . . . . . . . . . . : Intel(R) Centrino(R) Advanced-N 6200 AGN
      Physical Address. . . . . . . . . : 00-27-10-17-FB-9C
      DHCP Enabled. . . . . . . . . . . : Yes
      Autoconfiguration Enabled . . . . : Yes
      IPv4 Address. . . . . . . . . . . : 10.151.1.82(Preferred)
      Subnet Mask . . . . . . . . . . . : 255.255.224.0
      Lease Obtained. . . . . . . . . . : Tuesday, August 16, 2011 9:18:51 AM
      Lease Expires . . . . . . . . . . : Tuesday, August 16, 2011 2:35:41 PM
      Default Gateway . . . . . . . . . : 10.151.0.1
      DHCP Server . . . . . . . . . . . : 10.196.255.250
      DNS Servers . . . . . . . . . . . : 148.87.1.22
      148.87.112.101
      NetBIOS over Tcpip. . . . . . . . : Enabled

      Ethernet adapter Local Area Connection:

      Media State . . . . . . . . . . . : Media disconnected
      Connection-specific DNS Suffix . : us.oracle.com
      Description . . . . . . . . . . . : Intel(R) 82577LM Gigabit Network Connection
      Physical Address. . . . . . . . . : 00-26-B9-F1-15-19
      DHCP Enabled. . . . . . . . . . . : Yes
      Autoconfiguration Enabled . . . . : Yes

      validate-multicast with/without --bindaddress passes.

      The cluster could be successfully started with the wired network.

      Tried the same steps on home wired/wireless network and got the same results.

        Activity

        arungupta created issue -
        Joe Fialli made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Joe Fialli made changes -
        Summary Instances not able to join a cluster when configured for wireless networking GMS failes to initialize due to GMSException: can not find a first InetAddress
        Priority Critical [ 2 ] Major [ 3 ]
        Joe Fialli made changes -
        Summary GMS failes to initialize due to GMSException: can not find a first InetAddress GMS fails to initialize due to GMSException: can not find a first InetAddress
        Joe Fialli made changes -
        Environment Windows 7, JDK 7, Wireless Network
        Joe Fialli made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Joe Fialli made changes -
        Environment Windows 7, JDK 7, Wireless Network Windows 7, JDK 7, Wireless Network Interface, GlassFish 3.1.1
        Joe Fialli made changes -
        Attachment ListNetsEx.out [ 47018 ]
        Attachment ipconfig.out [ 47019 ]
        Attachment log_2011-08-18_07-41-35.zip [ 47020 ]
        Priority Major [ 3 ] Trivial [ 5 ]

          People

          • Assignee:
            Joe Fialli
            Reporter:
            arungupta
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: