I am using the following library "shoal-1.1_08182009".
http://blogs.sun.com/shreedhar/resource/SimpleGMSSample.java
This is the code I am trying to execute.
I am executing my code in Netbeans. The code compiles just fine. When I run
it. I get the following in the console,
*Dec 7, 2010 1:51:07 AM SimpleGMS runSimpleSample
INFO: Starting SimpleGMSSample....
Dec 7, 2010 1:51:07 AM SimpleGMS initializeGMS
INFO: Initializing Shoal for member: server1291666867934 group:Group1
Dec 7, 2010 1:51:07 AM SimpleGMS registerForGroupEvents
INFO: Registering for group event notifications
Dec 7, 2010 1:51:07 AM SimpleGMS joinGMSGroup
INFO: Joining Group Group1
Exception in thread "main" java.lang.NoSuchMethodError:
net.jxta.platform.NetworkConfigurator.setMulticastPoolSize(I)V
at
com.sun.enterprise.jxtamgmt.NetworkManager.startDomain(NetworkManager.java:696)
at
com.sun.enterprise.jxtamgmt.NetworkManager.start(NetworkManager.java:404)
at
com.sun.enterprise.jxtamgmt.ClusterManager.<init>(ClusterManager.java:141)
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 SimpleGMS.joinGMSGroup(SimpleGMS.java:75)
at SimpleGMS.runSimpleSample(SimpleGMS.java:45)
at SimpleGMS.main(SimpleGMS.java:24)*
What do I do in order to resolve these errors ?