Chat user is not getting message from the other users

In my application when user [A] initiate the chat with user[B]  , I am facing following issues
-          User[B] is not getting initiation notification so that I am unable to open chat pod for user [A] on user[B] application
-          Due to above problem , User[B] not getting any message sent by the User[A]
-          User[A] can send only one message and it is displayed on simple chat pod
when User[A]tries to send more then one message it is not displayed on simple chat pod but on the console I can see the messages
following is sample code
 public function connectChat() :void {
_collectionNode =
new CollectionNode();_collectionNode.sharedID = NOTIFICATION_COLLECTION_NODE;
_collectionNode.connectSession =
this.connectSession;_collectionNode.addEventListener(CollectionNodeEvent.SYNCHRONIZATION_CHANGE, onSynchronizationChange,
false, 0, true);_collectionNode.addEventListener(CollectionNodeEvent.ITEM_RECEIVE, onItemReceive,
false, 0, true);_collectionNode.subscribe();
/*** @private
* Handles the creation of a collection node if it does not already exist
 protected function onSynchronizationChange(event:CollectionNodeEvent):void { 
if (_collectionNode.isSynchronized) { 
if (!_collectionNode.isNodeDefined(START_CHAT_LIST) && _collectionNode.canUserConfigure(connectSession.userManager.myUserID)) {_collectionNode.createNode(START_CHAT_LIST,
new NodeConfiguration(UserRoles.VIEWER, UserRoles.VIEWER, true, false, true,false, NodeConfiguration.STORAGE_SCHEME_QUEUE));}
 public function connectChat() :void{
trace('connectChat');_collectionNode =
new CollectionNode();_collectionNode.sharedID = NOTIFICATION_COLLECTION_NODE;
_collectionNode.connectSession =
this.connectSession;_collectionNode.addEventListener(CollectionNodeEvent.SYNCHRONIZATION_CHANGE, onSynchronizationChange,
false, 0, true);_collectionNode.addEventListener(CollectionNodeEvent.ITEM_RECEIVE, onItemReceive,
false, 0, true);_collectionNode.subscribe();
/*** @private
* Handles the creation of a collection node if it does not already exist
 protected function onSynchronizationChange(event:CollectionNodeEvent):void { 
if (_collectionNode.isSynchronized) { 
//Creates the nodes if they don't exist 
if (!_collectionNode.isNodeDefined(START_CHAT_LIST) && _collectionNode.canUserConfigure(connectSession.userManager.myUserID)) {_collectionNode.createNode(START_CHAT_LIST,
new NodeConfiguration(UserRoles.VIEWER, UserRoles.VIEWER, true, false, true,false, NodeConfiguration.STORAGE_SCHEME_QUEUE));}
/*** Checks if a chat is going to be started with this specific user
 protected function onItemReceive(event:CollectionNodeEvent):void { 
var item:MessageItem = event.item; 
var openChatEvent:OpenChatEvent = OpenChatEvent.ToOpenChatEvent( item.body, OpenChatEvent.OPEN_CHAT ); 
switch (item.nodeName) { 
case START_CHAT_LIST: 
trace("Starting Chat Notified");  
if( openChatEvent.userId && openChatEvent.userId == this.connectSession.userManager.myUserID ){
this.dispatchEvent( openChatEvent ); 
if( this._collectionNode.isSynchronized ) 
this._collectionNode.retractItem( START_CHAT_LIST, openChatEvent.roomId );}
break;}
/*** Publishes a request for someone to join a chat
 public function publishChatRequest(notificationEvent : NotificationEvent) :void { 
if( this.connectSession.userManager.getUserDescriptor( notificationEvent.userID ) ){
var openChatEvent:OpenChatEvent = new OpenChatEvent( OpenChatEvent.PUBLISH_CHAT,null,notificationEvent.sharedID, notificationEvent.userNotificationList, null, notificationEvent.userID ); 
if( this.presenceUsers )openChatEvent.descriptors =
this.presenceUsers; _collectionNode.publishItem(
new MessageItem( START_CHAT_LIST, openChatEvent, openChatEvent.roomId ) );}
else{
Alert.show(
"User "+ notificationEvent.userID + " is not logged in.", "Publish Error" );}

A) are these methods copied twice in the code here on purpose?
   connectChat() and onSynchronizationChange is repeated in code due copy paste mistake
B) are both users subscribing to _collectionNode right away? Do each of them
get to onSynchronizationChange?
   Yes , each of them get to onSynchronizationChange
C) If you put a breakpoint in onSynchronizationChange, do you see the node
get created? Do you see it in the dev console?
Yes , it is creating a node
D) Is user B receiving an onItemReceive at all? Is user A?
Yes , it is creating a node
Now both the user getting chat message, have following issue
When user A initiate the chat with user B this action is not opening chat pod / window on user B end which shows user A has initiated chat with user B
But when user B click on user A name to initiate the chat, this action opens a chat window and user B can see message send by user A
Above scenario is not normal chat behavior in which other user gets the notification of chat . what could be the problem

Similar Messages

  • I cannot send or receive text messages from other iPhone users. I don't get an error I just don't receive any messages and the other users do not receive mine.

    I cannot send or receive text messages from other iPhone users. I don't get an error I just don't receive any messages and the other users do not receive mine.

    Reset the devices: Hold down the home button along with the sleep/wake button until you see the apple, then let go.

  • What do I do if I Switched to an android phone but Im not getting messages from apple users because of the I messages. I have already turned off my I messages on my old phone.

    I Switched to an android phone but Im not getting messages from people with I phones because of the I messages. I have already turned off my I messages on my old phone.

    http://support.apple.com/kb/ts5185

  • Excise rate and value is not getting defaulted from the purchase order

    Hi all,
    While capturing excise invoice , the excise rate and value is not getting defaulted from the purchase order and in Excise Item Tab BED,AED,ECS is Zero at both header as well as item level for only one material in STO process and if we are doing same process taking other material all things are coming perfectly and We are maintaining condition with respect to vendor,plant and material combination.Any input related to this will be helpfull and rewarded.
    Regards
    Vishal

    Hi,
    Follow STO Process for this;
    1.Create a vendor for the company code of receiving plant, using account group: 0007 using T-Code XK01.
    2. Assign this vendor to Delivering plant
    Go to XK02 >Purchasing view>Extras>Add. Purchasing data>Plant
    3. Create internal customer with the sales area of the vendor. Go To XD01
    4. In pricing procedure determination relevant to STO, assign document Pricing Procedure and customer pricing procedure appropriate for STO to get the pricing in the invoice.
    5. Maintain condition records for the relevant pricing condition.
    6. Some more setting for STO: Go to MM> Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Receiving plant >assign customer here & Supplying SA (for billing) to Receiving plant here
    7. Go to MM > Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Supplying plant and assign the sales area of receiving plant.
    8. Go to MM > Purchasing > Purchase Order > Set up STO > assign delivery Type & Checking rule
    Assign the delivery type to document type. In this case, Delivery type NLCC is assigned to Document type NB
    9. Go to MM> Purchasing > Purchase Order > Set up STO > Assign document Type, One step Procedure, Under delivery tolerance
    Assign the document type NB to supplying plant and receiving plant
    10. After all settings, Create the STO using T-Code: ME21N and maintain pricing conditions of freight and Save.
    11. In supplying plant Maintain condition record in sales using VK11 the same will flow in receiving plant when referring the OBD no during MIGO.
    10. Create Delivery: VL10G
    12. Picking, PGI: VL02N
    13. Billing: VF01
    Save the document and its done
    14. J1IIN - Outgoing Excise Invoice
    15. MIGO - Goods Receipt against outbound Delivery
    16. J1IEX - Capture & Post Excise Invoice
    Rgs

  • Phone not deleting messages from the server

    Please help! My Blackberry Curve 9360 is not deleting messages from the server meaning that, after returning home from a week working away, i've still got a few hundred messages to wade through on my PC.
    I receive e-mails on the PC via Outlook Express. I've clicked on 'tools', 'accounts' then 'advanced' to ensure that the box for 'leave a copy of the message on the server' is unchecked i.e. messages sould be being deleted from the server when prompted to by the phone but this is not happening. Not sure what else to try or perhaps there was something i did / didn't do during the set-up of the phone.
    Any guidance would be much appreciated.
    Thanks in advance,
    Barry.

    Hello,
    Please check this KB:
    KB05133 Email reconciliation features for the BlackBerry Internet Service
    All reconciliation capabilities between your BB and your email SERVER are governed by that KB. So, even if you set the other settings (e.g., "Delete On") correctly, they will be irrelevant if your email service does not support it (as per that KB).
    Further still, reconciliation between your email SERVER and your PC CLIENT software are something completely separate. Only in a very few circumstances (e.g., IMAP) does (for instance) Outlook reconcile items deleted at the Server down to the PC Client.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I use more than one computer to access my four business email accounts. When one computer is on (and mail is open) emails do not get through to the other computers. This is fine, but how do I make one of the other computers the dominant one?

    I use more than one computer to access my four business email accounts. When one computer is on (and mail is open) emails do not get through to the other computers. This is fine, but how do I make one of the other computers the dominant one?

    I assume these are POP accounts and all computers are set to remove from Server after downloading.
    So on the non dominant ones... Mail Preferences>Accounts, highlight an account, Advanced tab, uncheck remove from Server, just have the main dominant one remove from server.
    Or get/setup IMAP accounts.

  • LAN was down ie Users are not getting ip from DHCP server after enabling DHCP snooping

    Hi All ,
    Enclosed file has network connectivity diagram.
    1. L3 vlan's ie 2,3,4,5 and 6 are configured on ACC-CR1 and ACC-CR2. 
    2.Trunk is configured between Core switches ( CR1 and CR2) and access switches .VTP mode is transparent on all switches.L2 vlans are configured on all access switches.
    3.DHCP is server is located at different location and is reachable over MPLS.
    Without enabling dhcp snooping , users connected to access switches (Sw1,sw2,sw3 and Sw4 ) are getting ip address from DHCP server without any problem and everything is working fine.
    But users connected to Sw3 and Sw4 are getting ip address from rouge DHCP server which is not pingable from any one of the switch.
    So we have configured DHCP snooping for all vlan's on CR1 , CR2 , SW3 and SW4 and "trusted uplink ports" which are connected to WAN routers from CR1 and CR2  and also "trusted uplink ports " of Sw3 and Sw4 which are connected to CR1 and CR2.
    As soon we have enabled DHCP snooping and trusted respective uplink ports , users are not getting ip address from remote DHCP server and even users connected to Sw1 and SW2 are facing same issue.
    Note : DHCP snooping is not configured on SW1 and SW2.
    Why users are not getting ip address from remote DHCP server as soon as we enabled dhcp snooping on Core switches and two access switches ie sw3 and sw4 ? what could have caused DHCP packets to be dropped ? Any idea would be appreciated .

    Hi,
    as you say: " HSRP is configured between CR1 and CR2 and Vlans are active on CR1" does it mean there are L3 intrefaces configured in each VLAN on your CR switches and ip hepler-address pointing to the remote DHCP server is configured on each of them?
    I know it's difficult in a productive environment but IMHO you need to find out where are the DHCP offers dropped.
    Either by enabling DHCP debugging or by capturing packets via Wireshark, e.g.
    Best regards,
    Milan

  • Files not getting picked from the FTP site

    Dear All,
    We are having one File-XI-RFC scenario running in XI-PRD Server. Sometimes what happens is that files available in the FTP site are not getting picked by the File adapter. I have checked in the adapter monitoring and communication channel is active there. Also, there are no errors regarding this in SXMB_MONI. I have configured alerts also but for this case no alerts are getting trigerred. And also when I am reactivating that particular communication channel then that file is getting picked instantaneously.
    Can anybody please guide me on what might be the real cause for this as this error is happening randomly.
    regards,
    N.Jain.

    HI,
    Have you used per File transfer parameter in FTP Communication channel.
    It makes the FTP adapter inactive in ideal time.
    So add the poll interval may be for every 30 mins or something like it. It will forcefully activate the FTP port after every 30 mins. You may have the poll interval for every 1 min. Only the files to be picked up are getting logged in in XI monitoring.
    So there will be no garbage collection of unwanted messages in Monitoring.
    Thanks
    Swarup

  • TS3276 There are two User accounts on my iMac. The two Users have seperate email accounts.  Both email Mailboxes show up in each Account.  If I Delete Mailbox from in User account, does it delete the Mailbox from the other User account at the same time?

    There are 2 Users on my iMac.  Each User has their own email account.  Both account Mailboxes show up in each User's account.  If I delete a Mailbox in one account, does it delete the same Mailbox in the other Account? 

    If you click the - sign in Mail preferences, it will delete that mail account. If you just delete the Mailbox, that will just delete the Mailbox.
    Each user can put their own email account information in Mail when logged into their User Account.
    If you don't want the other user's mail account to show up in your mail application, then make sure the other user's messages are available to them when they are logged into their account and delete the other user account from Mail in your User Account. The other user can do the same when logged into their user account. Any messages stored in one locally will have to be transfered to the other's user account if it's not saved in their user login.
    In addition, instead of deleting the account at first, highlight the account and open the Advanced Tab and disable the account. That email account will dissappear from Mail. Once you decide that you don't want the account, you can delete it. If you need to get back to it to transfer messages, just re enable it.

  • Get WorkStatus from the other model issue (EPMWorkStatus)

    Hello,
    I’ve faced an issue with EPMWorkStatus formula. What I have:
           Two categories, let’s call them C1 and C2. C2 is a copy of C1 (was copied with standard copy package)
           In C1 there are some work statuses assigned
           In C2 there are no work statuses assigned yet
           I have two models, let’s call them M1 and M2. Work statuses are configured only for one model – M1. And the driver dimension presents only in M1 model
           Dimensions involved in work status assignment are Category (C type dimension), Time (T type dimension), P_PROJECT (U type dimension) and the driver dimension WFSTATUS (U type dimension)
             I have 3 statuses, let’s call them s1, s2, s3 (in this order)
           I have 2 connections: one to connect to M1 (let’s call it Connection1) and the other to connect to M2 (Connection2)
    I have workbook saved in M2. And I need to get work status with EPMWorkStatus formula from model M1. It seems to be a pretty easy task – just to point “M1” (model name) in “Connection name” parameter of the EPMWorkStatus formula:
    =EPMWorkStatus(M1,0,”C2”,[any Time dim base member], [any P_PROJECT dim base member],[any WFSTATUS dim base member])
    But I faced an issue. The formula returns value “s3” though there are no work statuses set for C2 category because I just created it. And there’re also no records for C2 category in generated work status table for the model M1 (I checked it at SE16 transaction). That is the formula should have returned “s1” value.
    I made some investigations and found out that if I connect using Connection1 (then change active connection to Connection2), then I got the correct results. But if I connect using Connection2, I always have the incorrect results. Even if I connect using Connection2 and then change active connection to Connection1 I have the incorrect results as well. So the results depend of what connection I used to log on (“Log on” button in Excel EPM tab).
    I also found out that received status from the EPM formula when I connect to Connection2 depends of the status I have in the same scope for category C1. That is if I have “s1” status for C1 category, I will have “s1” status for C2 category.
    How can I get the work status from the other connection?

    Hi Mikhaili,
    Save template by marking  "do not store connection"
    Go to edit report -> options and select "do not store connection"
    Regards,
    Shrikant

  • We just received our new mac and took it to the store to have the old files from our last computer transferred over.  Now we can't find all our files.  There was more then one user on the old machine.  How can we find the files from the other users?

    We need to find where the files for the other user on the computer are now located.  There were two other users on the old machine, which was taken into the store and ALL files were suppose to be transferred over to this computer. HELP!

    It appears what happened is the installer though it was looking at a empty drive and just went ahead and installed.
    I of course am assuming here you didn't use Disk Utility to format the drive first before installing, that would wipe out your files and programs for sure.
    So what to do, what to do.
    Well there is hope for you as long as the drive wasn't Filevaulted.
    I'll explain. When a hard drive writes data for the first time to a drive, it starts at the very top and works it's way down.
    When OS X was installed the first time, it was at the top of the drive, unless you upgraded then the upgraded OS X could have been written elsewhere.
    Now when you just reinstalled OS X, the new OS went on the top of the drive, overwriting any data that was there previously, so what was there you have lost forever which is about 8GB or so. If it was the previous OS there, then your more in luck because only the old OS X was overwritten.
    The remaining space on the drive still can have a copy of your files, provided it's not overwritten yet.
    It's because when a hard drive deletes data or reformats, it doesn't remove the data off the drive or overwrites it immediately, it's just made so it's SPACE is available for new files to be written there.
    So technically one can recover the deleted data off a non-encrypted/scrubbed hard drive with special software.
    The way it does this is it reads the 1's and 0's of the files themselves, and through a lot of figuring out, can tell what that file is and what it belongs too.
    So what you will have to do is this:
    Create a data recovery/undelete external boot drive
    or if you don't have the skills, then take it to a local PC/Mac tech and they can do a direct image of the drive and then you can run Data Rescue on it to rebuild your files.

  • How can i get data from the other system?

    hi,
    i want get some data from the other r3 system in my r3 system? now this two r3 system are installed two server.

    Hi,
    U can achieve this by RFC function module...
    create a function module and make it as REMOTE ENEBLED IN ATTRIBUTES TAB..
    for example i have to r/3 systems as A and B.
    I want to get data from B system..
    so create the FM in B system and then in A SYSTEM u have to call that one ,like this....
    DESTINATION NAME IS FOR SYSTEM B.
    CALL FUNCTION 'ZRFC' DESTINATION <DESTINATION NAME>
    EXPORTING
    IMPORTING
    TABLES..
    Regards,
    Nagaraj

  • How to create a new user without any sample objects from any other user?

    Question as the title.
    I had the example dababase installed when I installed the Oracle database.
    Every time, when I create a new user, there will be some example objects coming
    with the new user.
    How can I remove these objects from the new user?
    Or, how can I create a new user without the example objects?
    Thanks in advance.

    I think the easiest way for you would be to use OEM.
    Just locate each object that you want to remove and right click->remove. Don't bother doing this for any indexes as these will be removed when you drop the corresponding tables.
    If you want to try command line through sqlplus then identify the objects you want to remove by selecting from the user_objects view while logged in as this user. This will give you the name and type of object. Then issue the relevant drop command.
    It's probably worth making sure you have a valid backup first, just in case things go wrong!

  • After updating to the ios7, I'm not receiving messages from phones other than iPhones or I'll get them really late. How can I fix this?!

    I receive messages from iPhones normally. But when I try to text people who have regular Android phones, I either get their messages really late or I don't get them at all. It makes talking to my friends extremely hard and I need help trying to fix it. At first, I thought it was the service of the college I just moved to until I realized my messaging worked fine here until I updated my phone to the iOS7. Somebody help me please! I have an iPhone 4S!

    Deactivate then reactivate iMessage on your phone.

  • My friend with iphone 4s is not getting messages from my iphone 3gs even tho we both have the new software. everyone else gets our txts but we don't get each others. Help???

    does anyone know how to fix this? it's driving me insane idk what to do!!!
    It hasn't been working for three days now, and i really need it to!
    I also tried taking off my iMessage but nothing changed.
    HELP!!

    My mistake, I read your post too quickly.  I thought you said that you were both getting the same messsages.  Is your friend not getting just your messages or does she not get anyone's messages?  If she's not getting just your messages you might want to try deleting her contact on your phone and creating it again.  Sometimes that will clear things up.  Also, obviously the contact must match the number she receives messages at.

Maybe you are looking for