Hi Cheers,<br><br>I have just posted the same question to the JBoss forums: <a href="http://community.jboss.org/thread/145816">http://community.jboss.org/thread/145816</a><br><br><a href="mailto:javagroups-users@lists.sourceforge.net">javagroups-users@lists.sourceforge.net</a> is that JGroups or just generic java?<br>
<br>Mike<br><br><br><div class="gmail_quote">2009/12/14 Brian Stansberry <span dir="ltr"><<a href="mailto:brian.stansberry@redhat.com">brian.stansberry@redhat.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Your best bet is to use the JGroups user mail list<br>
<br>
<a href="mailto:javagroups-users@lists.sourceforge.net">javagroups-users@lists.sourceforge.net</a><br>
<br>
<a href="https://lists.sourceforge.net/lists/listinfo/javagroups-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/javagroups-users</a><br>
<div><div></div><div class="h5"><br>
On 12/14/2009 03:24 PM, Ales Justin wrote:<br>
> Try the forums, user forums in particular.<br>
> * <a href="http://community.jboss.org/" target="_blank">http://community.jboss.org/</a><br>
><br>
> mike cann wrote:<br>
>> Hi List,<br>
>><br>
>> Only just joined, im not sure if this is the right place to post or not<br>
>> so let me know if it isnt.<br>
>><br>
>> Im trying to use JGroups in a project.<br>
>><br>
>> First things first tried running a very simple example but couldnt get<br>
>> the two machines to talk to each other, i read all the documentation but<br>
>> still couldnt work out why.<br>
>><br>
>> I tried using the webstart demo of the draw (found here<br>
>> <a href="http://www.jgroups.org/demos.html" target="_blank">http://www.jgroups.org/demos.html</a>) thats actually the replicatedcache<br>
>> demo and to my surprise it worked.<br>
>><br>
>> I downloaded the .jar that the jnlp uses and ran it from the command<br>
>> line and got:<br>
>><br>
>><br>
>> ---------------------------------------------------------<br>
>> GMS: address is <a href="http://192.168.1.69:54939" target="_blank">192.168.1.69:54939</a><<a href="http://192.168.1.69:54939" target="_blank">http://192.168.1.69:54939</a>><br>
>> (cluster=replcache-cluster)<br>
>> ---------------------------------------------------------<br>
>><br>
>><br>
>><br>
>> Now when I tried to run the ReplCacheDemo from within the<br>
>> jgroups-all.jar I get the following:<br>
>><br>
>><br>
>><br>
>> java -cp jgroups-all.jar org.jgroups.demos.ReplCacheDemo<br>
>><br>
>> 14-Dec-2009 20:17:24 org.jgroups.logging.JDKLogImpl info<br>
>> INFO: JGroups version: 2.8.0.CR7<br>
>><br>
>> -------------------------------------------------------------------<br>
>> GMS: address=M-Win7-38823, cluster=replcache-cluster, physical<br>
>> address=fe80:0:0:<br>
>> 0:69e5:8edf:3e90:e817:62330<br>
>> -------------------------------------------------------------------<br>
>><br>
>><br>
>> So im not sure whats going on here, it looks like the jnlp demo is using<br>
>> a different GMS (?) settings to the one in jgroups-all.jar, so I tried<br>
>> to take the udp.xml file from the jnlp jar and use it in a simple<br>
>> example and I get the follwing errors:<br>
>><br>
>><br>
>><br>
>> 14-Dec-2009 21:12:12 org.jgroups.logging.JDKLogImpl info<br>
>> INFO: JGroups version: 2.8.0.CR7<br>
>> Exception in thread "main" org.jgroups.ChannelException: unable to setup<br>
>> the protocol stack<br>
>> at org.jgroups.JChannel.init(JChannel.java:1706)<br>
>> at org.jgroups.JChannel.<init>(JChannel.java:243)<br>
>> at org.jgroups.JChannel.<init>(JChannel.java:226)<br>
>> at jgroupssimple.Main.main(Main.java:25)<br>
>> Caused by: java.lang.Exception: unable to load class for protocol<br>
>> (either as an absolute - - or relative - org.jgroups.protocols. -<br>
>> package name)!<br>
>> at<br>
>> org.jgroups.stack.Configurator$ProtocolConfiguration.createLayer(Configurator.java:1244)<br>
>> at<br>
>> org.jgroups.stack.Configurator$ProtocolConfiguration.access$000(Configurator.java:1135)<br>
>> at<br>
>> org.jgroups.stack.Configurator.createProtocols(Configurator.java:368)<br>
>> at<br>
>> org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:88)<br>
>> at<br>
>> org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:54)<br>
>> at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:452)<br>
>> at org.jgroups.JChannel.init(JChannel.java:1702)<br>
>> ... 3 more<br>
>> Java Result: 1<br>
>> BUILD SUCCESSFUL (total time: 0 seconds)<br>
>><br>
>><br>
>><br>
>> Anyone any clues as to whats going on here?<br>
>> Cheers for your time :)<br>
>> Mike<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Mike Cann<br>
>> <a href="http://www.mikecann.co.uk/" target="_blank">http://www.mikecann.co.uk/</a><br>
>> <a href="http://www.artificialgames.co.uk/" target="_blank">http://www.artificialgames.co.uk/</a><br>
>><br>
>><br>
>> ------------------------------------------------------------------------<br>
>><br>
>> _______________________________________________<br>
>> jboss-development mailing list<br>
>> <a href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/jboss-development" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-development</a><br>
> _______________________________________________<br>
> jboss-development mailing list<br>
> <a href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/jboss-development" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-development</a><br>
<br>
<br>
</div></div><font color="#888888">--<br>
Brian Stansberry<br>
Lead, AS Clustering<br>
JBoss by Red Hat<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
jboss-development mailing list<br>
<a href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-development" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-development</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mike Cann<br><a href="http://www.mikecann.co.uk/">http://www.mikecann.co.uk/</a><br><a href="http://www.artificialgames.co.uk/">http://www.artificialgames.co.uk/</a><br>