Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27
  1. #21
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    But when I restart the LS and adapter this getting run normally. This is too hard to find out the issue.

  2. #22
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Indeed, in this case I would start the investigation from the initialization operations performed in the Adapters, since they seem to fix the issue.

    Maybe you have a forever loop that once interrupted is not re-started?
    Or a connection to an external service that as well is not restored following a failure?

  3. #23
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    Hello,
    I have attached my full source code in this link http://post.nammauzhavan.com/logs/src.7z Could you please check and help me on this.
    Last edited by rvkvino; December 8th, 2020 at 05:13 AM. Reason: Link did wrong

  4. #24
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi rvkvino,

    I have just taken a quick review of your code, and indeed I cannot provide a definitive answer but some tips to continue the investigation.
    I think you should start by monitoring specifically the getJSON method, that if I am right, is called repeatedly to retrieve data updates from the backend.
    I would add some logging in the method; I noticed that in the code you use System.out that should be ok if you have actually access to the console output of the running adapters process.
    Just some basic text message in order to verify that the getJSON it is regularly called up for the entire life of the process.

    Furthermore, just as a precaution I would add a generic catch to Exception, always in the getJSON method, because this could be the case where an unhandled exception stops the flow of data to the Lightstreamer server.

    Regards,
    Giuseppe

  5. #25
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    Hello,
    As per your advice I have added the generic catch to Exception and update the adapter and now it's running. I will monitor 2 days and update the feedback.

  6. #26
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    I have been monitoring since last 10days but this didn't get any issue of stopping the rates. But got any issue like items not displaying in COMMAND mode. Some one items are missing from my adapter and not displaying in view page. This issue only happening nowadays.

  7. #27
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    This issue is not very clear to me.
    Do you mean that some Items subscribed in COMMAND mode, once they are no longer updated from the back-end, also disappear in the client view? This would be unusual behavior that has no explanation.
    Please could you detail the scenario a little more specifically?

    Thank you,
    Giuseppe

 

 

Similar Threads

  1. Replies: 2
    Last Post: August 20th, 2015, 12:41 PM
  2. Replace Adapter without restart of Light Streamer service
    By Slavko Parezanin in forum Adapter SDKs
    Replies: 1
    Last Post: January 19th, 2015, 10:43 AM
  3. Replies: 5
    Last Post: August 20th, 2009, 11:38 AM
  4. Replies: 2
    Last Post: October 17th, 2008, 10:22 AM
  5. Hitting ESC stops streaming
    By Mone in forum Client SDKs
    Replies: 1
    Last Post: April 19th, 2007, 08:42 PM

Tags for this Thread

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 04:18 AM.