Skip to main content
1-Visitor
Jul 19, 2018 4:20 AM UTC
Question

'Thing not Running' Issue

Hello,

I am facing an issue when I am creating thing programatically. I know there are couple of good discussions already available on the portal. I think am following the necessary steps while creating things which are suggested, of Enabling and Restarting the thing.

This is not a very frequent error, and most of the time I don't get the 'Thing not running' exception, so I believe procedure is correct for most of the time, but the problem is, I am not able to identify the solution when this error comes.

I even tried to again restart and enable the thing when 'Thing not running' error comes, but still of no use. What is more weird is, when the thing is not running if I call the service 'IsEnabled' it returns true, and rest all other service gives exception, for example 'Get Description'.

Some posts are also taking about 'ghost entities' and are suggesting to restart the Tomcat, but in this particular case even that's not working for me.

I am using VirtualBox docker version of Thingworx

Some posts and topics that I referred are - 

https://community.ptc.com/t5/ThingWorx-Developers/JavaScript-CreateThing-Thing-is-not-running/td-p/508232

https://community.ptc.com/t5/ThingWorx-Developers/Thing-ThingName-is-not-running/td-p/531655

https://community.ptc.com/t5/ThingWorx-Developers/Things-are-in-quot-Thing-is-not-Running-quot-state/td-p/503273

https://community.ptc.com/t5/ThingWorx-Developers/Creating-Things-but-not-running/m-p/507967#M5735

Any help would be appreciated.

Thanks in advance

Regards

Aditya Mittal

5 replies

1-Visitor
Jan 24, 2019 10:25 AM UTC

Did you find any solution to it, because we are facing exactly the same problem? Thanks in advance.

Translate
1-Visitor
Jan 24, 2019 2:14 PM UTC

This problem can be cause by a lot of different things, if you can concrete a bit more your problem we may help.

Translate