[jboss-dev] JGroup Oddness.. GMS?

mike cann mike.cann at gmail.com
Mon Dec 14 17:19:40 EST 2009


Righto, ill try them too then.

Cheers,
Mike

2009/12/14 Brian Stansberry <brian.stansberry at redhat.com>

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



-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-development/attachments/20091214/41f204a9/attachment.html 


More information about the jboss-development mailing list