Skip to main content
5-Regular Member
November 17, 2016
Question

Remote Thing properties value get reset everynight

  • November 17, 2016
  • 1 reply
  • 2902 views

Hi Guys!

I was using Java SDK to call a Thing service to create a remote thing, then bind it with my sdk and send data to it

Everything works fine and I can see remote thing data updating while I was running the sdk(jar file).

But even I already set all properties to persistent, every morning this remote thing still lose all data and roll back to just create status(because it shows last connection is 1969-12-31 19:00:00.000 )

Is there something I did wrong in my sdk to reset this remote thing everyday(I didn't run the jar file over night, i turn it off before i left office)?or is that some setting in Thingworx platform?

Thank you for any advice and idea!

Best

Liwei

1 reply

5-Regular Member
November 17, 2016

Liwei, when does the property value reset? Is it after a Tomcat restart, SDK restart or a Thing restart?

liwei5-Regular MemberAuthor
5-Regular Member
November 17, 2016

Hi AanJan,

Thingworx Server is running on AWS, it shouldn't restart every night(I'm not 100% sure, but I do lost data overnight, in the day time I didn't seem to lose any data).

SDK restart will not reset all properties value.

I didn't try to restart Thing, will a Thing restart itself somehow?

5-Regular Member
November 17, 2016

It shouldn't restart on its own. I'm more curious as to why it resets at night only, as you said nothing happened in the day time. I assumed the SDK might reset/ overwrite it back to the default once you start it up, but you noted that the SDK restart does not reset all properties.