-
December 7th, 2020, 11:50 AM
#21
But when I restart the LS and adapter this getting run normally. This is too hard to find out the issue.
-
December 7th, 2020, 12:13 PM
#22
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?
-
December 7th, 2020, 03:12 PM
#23
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 04:13 AM.
Reason: Link did wrong
-
December 9th, 2020, 09:57 AM
#24
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
-
December 10th, 2020, 07:08 AM
#25
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.
-
December 21st, 2020, 02:17 PM
#26
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.
-
December 21st, 2020, 03:20 PM
#27
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
-
By kailashb in forum Adapter SDKs
Replies: 2
Last Post: August 20th, 2015, 11:41 AM
-
By Slavko Parezanin in forum Adapter SDKs
Replies: 1
Last Post: January 19th, 2015, 09:43 AM
-
By thanie2001 in forum Client SDKs
Replies: 5
Last Post: August 20th, 2009, 10:38 AM
-
By Mone in forum Client SDKs
Replies: 2
Last Post: October 17th, 2008, 09:22 AM
-
By Mone in forum Client SDKs
Replies: 1
Last Post: April 19th, 2007, 07:42 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:44 PM.
Bookmarks