Skip to main content
1-Visitor
May 15, 2018
Solved

Anomaly Detection Thing Watcher exception Training failed

  • May 15, 2018
  • 2 replies
  • 4787 views

Hi,

I'm following the guide https://developer.thingworx.com/resources/guides/anomaly-detection-how-guide . During the model training it fails after calibrating and the application log throws out this error multiple times

 

Screenshot-2018-5-15 ThingWorxMonitor.png

 

Not really sure what the issue could be. Both the training and results microservices are up and running. Thanks.

Best answer by cmorfin

Hi

 

The error you get is documented at https://www.ptc.com/en/support/article?n=CS269383.

You need to allocate more memory to the JVM of training and result microservices.

The above article gives the steps to do so.

 

Kind rgeards

Christophe

 

2 replies

5-Regular Member
May 15, 2018

Which version of the microservices are you running?

 

Where is the ThingWorx Core server running, and where are the microservices running? The TW Core server must be able to make a network connection to the microservices.

 

Do you see anything in microservices console window?

 

 

1-Visitor
May 16, 2018

I'm running the 2.0.2 version result microservice and 2.0.4 of the training microservice. I've installed the Thingworx Trial Edition in Docker. I've attached the logs for both the training and result microservices.

cmorfin19-TanzaniteAnswer
19-Tanzanite
May 16, 2018

Hi

 

The error you get is documented at https://www.ptc.com/en/support/article?n=CS269383.

You need to allocate more memory to the JVM of training and result microservices.

The above article gives the steps to do so.

 

Kind rgeards

Christophe

 

19-Tanzanite
May 15, 2018

Hi 

 

it probably would be useful to see the ThingWorx log file and mostly the training and result microservice log too (see https://www.ptc.com/en/support/article?n=CS266118 if they are not created by default).

However a common mistake is with the syntax of file.storage.path property.

Do check Configure File Path at https://developer.thingworx.com/resources/guides/anomaly-detection-how-guide/set-and-run-thingwatcher-micro-services

You probably are having a version 2.0.5 or later so need to use the correct syntax.

 

Hope this helps

Christophe

 

 

1-Visitor
May 16, 2018

Yes the syntax of file.storage.path is also correct. I've attached the log files.