shoal
  1. shoal
  2. SHOAL-94

IndexOutOfBoundException setting VIRTUAL_MULTICAST_URI_LIST to one uri

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: 1.1
    • Component/s: GMS
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      94

      Description

      IndexOutOfBoundException occured on following line in NetworkManager.java, line 184.

      LOG.config("VIRTUAL_MULTICAST_URI_LIST=" + virtualMulticastURIList + "
      rendezvousSeedURIs.get(0)=" + rendezvousSeedURIs.get(1));
      }
      Workaround is to set VIRTUAL_MULTICAST_URI_LIST to have two items in it.
      Merely add a "," and then replicate the orginal uri to workaround this issue.

      Code Fix is to change "1" to "0" in rendezvousSeedURIs.get() call above.

      [#|2009-12-11T23:28:40.949+0000|SEVERE|sun-glassfish-comms-server2.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=065c7edb-2ec7-4b93-aa04-92886980678e;|CORE5071:
      An error occured during initializationjavax.management.RuntimeMBeanException:
      java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
      at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:856)
      at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:869)
      at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:838)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
      at $Proxy1.invoke(Unknown Source)
      at
      com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
      at
      com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:170)
      at
      com.sun.enterprise.ee.cms.lifecycle.GMSLifecycleImpl.onInitialization(GMSLifecycleImpl.java:123)
      at
      com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:265)
      at
      com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:103)
      at com.sun.enterprise.server.PEMain.run(PEMain.java:399)
      at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597) at
      com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)Caused by:
      java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at
      java.util.ArrayList.RangeCheck(ArrayList.java:547) at
      java.util.ArrayList.get(ArrayList.java:322) at
      com.sun.enterprise.jxtamgmt.NetworkManager.<init>(NetworkManager.java:184)
      at com.sun.enterprise.jxtamgmt.ClusterManager.<init>(ClusterManager.java:138)
      at
      com.sun.enterprise.ee.cms.impl.jxta.GroupCommunicationProviderImpl.initializeGroupCommunicationProvider(GroupCommunicationProviderImpl.java:154)
      at com.sun.enterprise.ee.cms.impl.jxta.GMSContext.join(GMSContext.java:145)
      at
      com.sun.enterprise.ee.cms.impl.common.GroupManagementServiceImpl.join(GroupManagementServiceImpl.java:367)
      at
      com.sun.enterprise.ee.admin.mbeans.GMSClientMBeanHelper.initGMSGroupForNamedCluster(GMSClientMBeanHelper.java:123)
      at
      com.sun.enterprise.ee.admin.mbeans.GMSClientMBean.initGMSGroupForNamedCluster(GMSClientMBean.java:157)
      at
      com.sun.enterprise.ee.admin.mbeans.GMSClientMBean.initGMSGroupForAllClusters(GMSClientMBean.java:140)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597) at
      com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
      at
      com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
      at
      com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
      at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
      at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
      at javax.management.StandardMBean.invoke(StandardMBean.java:391) at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      ... 19 more

        Activity

        Joe Fialli created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 94 22022

          People

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

            Dates

            • Created:
              Updated:
              Resolved: