users@glassfish.java.net

Re: GroupManagementService error when setting up cluster

From: Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM>
Date: Mon, 09 Jun 2008 18:12:38 -0700

This is related to Shoal and Jxta part of GlassFish.

This is the key statement in this problem coming from Jxta as it is
unable to create a PeerGroup corresponding to the cluster :

[#|2008-06-10T08:12:40.907+0800|SEVERE|sun-appserver9.1|ShoalLogger|_ThreadID=10;_ThreadName=main;_RequestID=76bac267-282b-41ef-a2ca-0f94d05184f7;|Could not locate World PeerGroup Module Implementation.|#]

Which JDK version are you running GlassFish with ?

Does your OpenSuse box support multicast?
Could you do "ifconfig -a" on your box and see if the non-loopback network interface specifies "multicast" and "running"?

Thanks
Shreedhar





glassfish_at_javadesktop.org wrote:
> Hi,
>
> I got this strange error when I try to setup GlassFish v2u2 clustering on OpenSuse 10.3. Using exactly the same steps, I managed to run on Ubuntu 8.04 but somehow on OpenSuse, it just doesn't work.
>
> I follow these main steps to create the domain: create domain, run domain, create node agent, create cluster, create instance, try to run instance, got error, shutdown domain, try to run domain, now the domain get the same error.
>
> The error message logged in the server.log is like this:
>
> [#|2008-06-10T08:12:40.347+0800|INFO|sun-appserver9.1|ShoalLogger|_ThreadID=10;_ThreadName=main;|Initializing GroupManagementService: Becoming spectator member of cluster:cluster1|#]
>
> [#|2008-06-10T08:12:40.907+0800|SEVERE|sun-appserver9.1|ShoalLogger|_ThreadID=10;_ThreadName=main;_RequestID=76bac267-282b-41ef-a2ca-0f94d05184f7;|Could not locate World PeerGroup Module Implementation.|#]
>
> [#|2008-06-10T08:12:40.940+0800|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=76bac267-282b-41ef-a2ca-0f94d05184f7;|CORE5071: An error occured during initialization
> javax.management.RuntimeMBeanException: RuntimeException thrown by the invoke method of the Dynamic MBean
> at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:227)
> at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
> 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:585)
> 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:174)
> at com.sun.enterprise.ee.cms.lifecycle.GMSLifecycleImpl.onInitialization(GMSLifecycleImpl.java:122)
> at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:262)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:101)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
> 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:585)
> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
> Caused by: java.lang.NullPointerException
> at com.sun.enterprise.jxtamgmt.ClusterManager.createSystemAdv(ClusterManager.java:574)
> at com.sun.enterprise.jxtamgmt.ClusterManager.<init>(ClusterManager.java:152)
> at com.sun.enterprise.ee.cms.impl.jxta.GroupCommunicationProviderImpl.initializeGroupCommunicationProvider(GroupCommunicationProviderImpl.java:129)
> at com.sun.enterprise.ee.cms.impl.jxta.GMSContext.join(GMSContext.java:122)
> at com.sun.enterprise.ee.cms.impl.common.GroupManagementServiceImpl.join(GroupManagementServiceImpl.java:309)
> 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:585)
> at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
> at javax.management.StandardMBean.invoke(StandardMBean.java:323)
> at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
> ... 21 more
> |#]
>
> [#|2008-06-10T08:12:40.943+0800|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=76bac267-282b-41ef-a2ca-0f94d05184f7;|Server Startup failed. Exiting...|#]
>
>
> I got a feeling that it's something trivial that was probably wrong or missing, but I don't have any clue how to troubleshoot this.
>
> Any kind soul that can provide some advice?
> [Message sent by forum member 'yunghans' (yunghans)]
>
> http://forums.java.net/jive/thread.jspa?messageID=279301
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>