Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    May 2009
    Location
    Madurai
    Posts
    10

    Query in passing json message from LS server to browser

    Hi,
    We are using GWT Java Application. Our LS server is continously sending json message to browser. In LS console we can print all the messages. But in the browser not able to receive some messages(got missed out at client side). We are not able to trace out the cause. Can anyone help us for this?


    Thanks,
    Latha.P

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    hi,

    do some messages reach the client while others don't?

    did you check if the onLostUpdates callback was fired?

  3. #3
    Member
    Join Date
    May 2009
    Location
    Madurai
    Posts
    10
    Hi,
    Thanks for your reply. Actually we are new to both LS & Java application. So, not able to get you. Are you asking us to check the "onLostUpdates" callback at client side coding?

    In GWT, we are using the following methodology to receive the JSON message sent by LS server.

    public native void publish() /*-{
    $wnd.jsonUpdatedStaticJS = @com.chellasoft.http://www.client.ChellaSoft::jsonUp...lang/String;);
    }-*/;

    If you don't mind, Can we get the detailed information?

    Note: In LS server side(Meta Data Adapter), we are able to print all the messages sent to client. but not at the client side.

    Thanks,
    Latha.P

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,
    Thanks for your reply. Actually we are new to both LS & Java application. So, not able to get you. Are you asking us to check the "onLostUpdates" callback at client side coding?
    No, first I want to know if at least one update reaches the client. I want to understand if you're not able to receive data or if you lose only some data. In the latter case, to check the onLostUpdates client-side callback would be the first step.

    In GWT, we are using the following methodology to receive the JSON message sent by LS server.
    Sorry, I've never played with GWT so I don't know what that means. Please check this thread about GWT, maybe it could help: http://www.lightstreamer.com/vb/showthread.php?t=371

    If you don't mind, Can we get the detailed information?
    what do you mean?

    Note: In LS server side(Meta Data Adapter), we are able to print all the messages sent to client. but not at the client side.
    please edit Lightstreamer log configuration, setting the LightstreamerLogger.push category's level to DEBUG. This will show you what exits from the server.


    HTH

  5. #5
    Member
    Join Date
    May 2009
    Location
    Madurai
    Posts
    10
    Hi,
    Thanks a lot...


    Regards,
    Latha.P

  6. #6
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    so, is your problem solved?

  7. #7
    Member
    Join Date
    Dec 2010
    Location
    new york
    Posts
    1
    well if you face any more problem you can google it and you will find a solution in top 3 websites i did the same and now i am enjoying its all set

 

 

Similar Threads

  1. Don't send message when refresh the browser
    By naitsir in forum Client SDKs
    Replies: 7
    Last Post: October 2nd, 2012, 11:36 AM
  2. Message in browser task bar
    By finodex in forum Client SDKs
    Replies: 1
    Last Post: June 6th, 2012, 11:32 AM
  3. Restart Lightstreamer Server while browser open !!
    By mohamida in forum Adapter SDKs
    Replies: 9
    Last Post: April 21st, 2010, 09:17 PM
  4. Replies: 1
    Last Post: January 18th, 2010, 04:27 PM
  5. Replies: 9
    Last Post: October 19th, 2009, 05:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:06 PM.