Hi Daniel
I have a zip attached with a fix to your app i.e in line 188
groupHandle.sendMessage(x, y) - x is a required non-null argument
wherein COMPONENT_NAME needs to be passed in. We need to put a null
check in Shoal to report it - so would appreciate a bug report from you
in the Shoal issue tracker.
Attached.
Shreedhar
Shreedhar Ganapathy wrote:
> Daniel
> Do you see any Exceptions in your log when the message is sent ?
> I see an NPE when running two processes in a single machine (after
> appending System.currenTimeMillis() to help make the two process's
> server names unique.
> We will look into the NPE - just wanted to be sure you see the same
> issue as well or any others.
>
> Thanks
> Shreedhar
>
> Daniel H. Cavalcanti wrote:
>> Hi Shreedhar,
>>
>> I can share the sample code I wrote. It's a very simple app that
>> starts a gui, Then I have buttons that triggers events to join a
>> group, send messages, and the shutdown/leave the group.
>>
>> I attached it here but don't know if it gets posted in the list.
>>
>> I actually start the app on two different machines, and from the log
>> I see that the group sees the two nodes in the group.
>>
>> Ganapathy wrote:
>>> Hi Daniel
>>> Sorry for the delayed response.
>>> From the posted thread, it appears you are starting only one member
>>> in your group.
>>> Could you verify if that member has added the MessageActionFactory
>>> before messages are sent?
>>> Also, to receive messages sent by self, you need to add a property
>>> to the Properties object when you call GMSFactory.startGMSModule(...)
>>>
>>> The property is called "LOOPBACK" with value set to true.
>>> By default, messages sent by a member are not received by that same
>>> member unless the above property set to true.
>>>
>>> Could you also try running two instances of your app and verify your
>>> messaging sample?
>>>
>>> hth
>>> Shreedhar
>>>
>>>
>>> Daniel H. Cavalcanti wrote:
>>>> Hi, I posted an inquiry in the shoal mailing list and just don't
>>>> get any responses. Maybe someone here could help out.
>>>>
>>>> Here is the link on the entry I posted:
>>>> https://shoal.dev.java.net/servlets/ReadMsg?list=users&msgNo=490
>>>>
>>>> Basically, I can't get shoal to deliver messages to the peer group.
>>>> Can someone help?
>>>>
>>>> thanks,
>>>> Daniel.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net