[ 
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:26 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 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 (as offline) to other logged in users.

      was (Author: gpgarun):
    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 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
  
> 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

        

Reply via email to