You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Prem Gnana Arun (JIRA)" <ji...@apache.org> on 2011/08/05 12:13:27 UTC

[jira] [Issue Comment Edited] (VYSPER-286) Message cannot send message to offline receiver is not sent back to client

    [ https://issues.apache.org/jira/browse/VYSPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079881#comment-13079881 ] 

Prem Gnana Arun edited comment on VYSPER-286 at 8/5/11 10:12 AM:
-----------------------------------------------------------------

I too have a very similar case, but it seems the given solution to implement shutdown hook won't work. 

Because the suggested solution does not address unexpected network disconnects. 

For the sake of clarity I explain the scenario once again with User1 and User2 as requested by Bernd already.

1. User1 logs in. The status is set as 'Available'  by default.
==> User1's status is reflected in the messenger window of other logged in users.

2. Disconnect User1's workstation from the network.
==> Other user's list disappears from User1 messenger window.

3. Check the status of  User1 from the messenger window of other logged in users.
==> User1's status still remains in the same status for all other users. 

Expected: User1's status should be made offline to other users as soon as the network disconnects. 

The questions is how to detect the unexpected network disconnects for User1 and broadcast the status to other logged in users accordingly

      was (Author: gpgarun):
    I too have a very similar case, but it seems the given solution to implement shutdown hook won't work. Is there any alternate solutions? For the sake of clarity I can explain my scenario once again with Client 1 and Client 2 as requested by Bernd already.

1. Login with User1 and set the status as 'Available' in the Messenger.
==> User1's status is reflected in the messenger window of other logged in users.

2. Disconnect User1's workstation from the network
==> User1 doesn't see the other user if refreshed as expected.

3. Check the status of  User1from the Messenger window of other logged in users
==> User1's status still remains in the same status for all other users. 

Expected: User1's status should be made offline to other users as soon as the network disconnects. 
  
> Message cannot send message to offline receiver is not sent back to client
> --------------------------------------------------------------------------
>
>                 Key: VYSPER-286
>                 URL: https://issues.apache.org/jira/browse/VYSPER-286
>             Project: VYSPER
>          Issue Type: Bug
>          Components: core protocol
>    Affects Versions: 0.7
>         Environment: windows 7
>            Reporter: Aruna polepally
>
> Using a smack Api as client i am trying to send message from Client A to Client B
> (offline).I can see the error message in the server console as follows : org.apache.vysper.xmpp.delivery.inbound.DeliveringInternalInboundStanzaRelay WARN cannot relay to offline receiver b@localhost stanza message.body.Hello.I could not see any error message sending back to client A so that the message can be captured.
> Is ther

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira