Closed glassfishrobot closed 14 years ago
@glassfishrobot Commented Reported by @jfialli
@glassfishrobot Commented @jfialli said: Regression was introduced by a putback on 6/19/2009. Fix is well understood and detailed in intial bug submission.
@glassfishrobot Commented @jfialli said: Fixes checked into main shoal trunk and into shoal abstract transport branch.
Still needs to be integrated into sailfin 2.0.x and glassfish v2.1.1.x, where x is the next patch after current released bits.
@glassfishrobot Commented This issue was imported from java.net JIRA SHOAL-94
@glassfishrobot Commented Marked as fixed on Wednesday, June 23rd 2010, 4:11:06 am
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.(NetworkManager.java:184)
at com.sun.enterprise.jxtamgmt.ClusterManager.(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
Environment
Operating System: All Platform: All
Affected Versions
[current]