Skip to main content
1-Visitor
July 24, 2019
Solved

Initialization Failed: Anomaly detection on Thing created from Generic thing

  • July 24, 2019
  • 7 replies
  • 2853 views

Hi, i am trying to use anomaly detection with the alert system on a Thing that is created from a generic thing.

The sensor readings are coming in via REST and i can plot a time series chart on the mashup. However after i tried using the anomaly detection alert in the new composer platform, it shows initialization failed.

 

Is this because i am using a Generic thing instead of Remote Thing as mentioned in tutorials?? I am still a student so i do not have access/ connection to industrial software like kepserverex to connect to. I assume it can work since i can access the functionality on the new composer.

Capture.PNG

 

Best answer by cmorfin

Hi @hujingrui 

 

You first need to identify what version of ThingWorx you are using.
In Composer select Help > About. You should see either 8.3.x or 8.4.x at the bottom of the screen.

 

Then in Composer, select Browse > SYSTEM > Subsystem > AlertProcessingSubsystem > Configuration

Depending on the version you use you will see 2 fields to indicate the training and result microservice url (if you are in 8.3) or one field to select the AnalyticsGateway (if you are in 8.4).

 

If in 8.3, if the training and result microservices have been filled, then you will see on what machine those are running. And you will need to check the log on that machine to see what is wrong.

If they are not filled, or you are in 8.4, then you need to check with some administrator to know if the microservies or ThingWorx Analytics Server has been installed somewhere.

 

Kind regards

Christophe

 

 

7 replies

19-Tanzanite
July 24, 2019

Hi @hujingrui 

 

Anomaly detection will work with a generic thing, so that should not be an issue.

If you get an Initialization Failed, it is more likely that the configuration is not right.

So either the microservices (ThingWorx 8.3) are not started or not configure ok, or ThingWorx Analytics Server (if using ThingWorx 8.4) is not up and configured.

 

If you are using ThingWorx 8.3, check the video "Deploying Training and result microservices - Jar deployment"  at https://www.ptc.com/en/support/article?n=CS265488
If you are using ThingWorx 8.4, check https://www.ptc.com/en/support/article?n=CS299231

 

Hope this helps

Kind regards

Christophe

 

hujingrui1-VisitorAuthor
1-Visitor
July 24, 2019

sorry i am new to this as i am using the thingworx from my school.

How do i find out the thingworx Analytics Server / micro services version in my school?

How to i find out if it is configured correctly.

cmorfin19-TanzaniteAnswer
19-Tanzanite
July 24, 2019

Hi @hujingrui 

 

You first need to identify what version of ThingWorx you are using.
In Composer select Help > About. You should see either 8.3.x or 8.4.x at the bottom of the screen.

 

Then in Composer, select Browse > SYSTEM > Subsystem > AlertProcessingSubsystem > Configuration

Depending on the version you use you will see 2 fields to indicate the training and result microservice url (if you are in 8.3) or one field to select the AnalyticsGateway (if you are in 8.4).

 

If in 8.3, if the training and result microservices have been filled, then you will see on what machine those are running. And you will need to check the log on that machine to see what is wrong.

If they are not filled, or you are in 8.4, then you need to check with some administrator to know if the microservies or ThingWorx Analytics Server has been installed somewhere.

 

Kind regards

Christophe