cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Problems with Analysis Jobs

olatz
13-Aquamarine

Problems with Analysis Jobs

Hi,

 

I am having a problem with Analytic Server. I have published a model and the prediction is done when a property changes the value. Is has being working properly, I tested it manually and I can see the jobs in "Analysis Jobs" but after some time it stopped working. I change the value of the property but nothing happens. I search from a error log on the analytics server but the last message on edge.log is this (no errors):

"

2020-01-13 09:04:40 [ClientProcessor-3] DEBUG c.t.a.e.s.p.PredictionMicroserver - Starting BatchScore for goalField : temperature modelUri : results:/models/c3d64030-67eb-471a-9a6a-d591cf529791
2020-01-13 09:04:40 [ClientProcessor-3] DEBUG c.t.a.e.s.p.PredictionMicroserver - Ending BatchScore for goalField : temperature modelUri : results:/models/c3d64030-67eb-471a-9a6a-d591cf529791
2020-01-13 09:22:03 [ClientProcessor-3] DEBUG c.t.a.e.s.p.PredictionMicroserver - Starting BatchScore for goalField : temperature modelUri : results:/models/c3d64030-67eb-471a-9a6a-d591cf529791
2020-01-13 09:22:03 [ClientProcessor-3] DEBUG c.t.a.e.s.p.PredictionMicroserver - Ending BatchScore for goalField : temperature modelUri : results:/models/c3d64030-67eb-471a-9a6a-d591cf529791
2020-01-13 10:01:05 [ClientProcessor-3] DEBUG c.t.a.edge.data.DataMicroserver - Starting to query version info: DataMicroserver
2020-01-13 10:01:05 [ClientProcessor-3] DEBUG c.t.a.edge.data.DataMicroserver - Core version prefix: 8.3
2020-01-13 10:01:05 [ClientProcessor-3] DEBUG c.t.a.edge.data.DataMicroserver - Computed the version as: 8.3.040505

"

I also revised other logs but there is no information.

It seems like if the configured event for triggering the analytic proccess doesn't work, but it has beeing working properly some minutes ago.

 

My environment is:

- Thingworx platform 8.3.4 and H2 on Ubuntu 

- Anaylitics Server 8.3.0 in a different virtual machine

 

Thanks.

 

Olatz.

ACCEPTED SOLUTION

Accepted Solutions
cmorfin
19-Tanzanite
(To:olatz)

@olatz 

 

Could you check the version of ThingWorx Analytics Extension you are using ?

There has been some compatibility issues with ThingWorx platform 8.3.4 that led to unreliable behaviour of Analysis Event. See https://www.ptc.com/en/support/article?n=CS299367 .

Make sure you are using ThingWorx Analytics Extension 8.3.5 with ThingWorx Platform 8.3.4.

 

Hope this helps

Kind regards

Christophe

 

View solution in original post

3 REPLIES 3
cmorfin
19-Tanzanite
(To:olatz)

@olatz 

 

Could you check the version of ThingWorx Analytics Extension you are using ?

There has been some compatibility issues with ThingWorx platform 8.3.4 that led to unreliable behaviour of Analysis Event. See https://www.ptc.com/en/support/article?n=CS299367 .

Make sure you are using ThingWorx Analytics Extension 8.3.5 with ThingWorx Platform 8.3.4.

 

Hope this helps

Kind regards

Christophe

 

olatz
13-Aquamarine
(To:cmorfin)

Thanks. I was working with Analytics Extension 8.3.0 and Platform 8.3.4.

I have done the update of the extensions, taking care of multiple advices:

https://www.ptc.com/en/support/article?n=CS297164

https://support.ptc.com/help/thingworx_hc/thingworx_analytics_8/#page/analytics%2Fanalytics_linux_installation%2Fupgrade_analytics_server_linux.html%23wwID0ELG3S

https://support.ptc.com/help/thingworx_hc/thingworx_analytics_8/index.html#page/analytics/upgrade_extension.html

http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FGetting_Started%2FImportingandExportinginThingWorx%2FImportingExtensions.html

 

The proccess of importing the new versión of analytics-extensions went Ok, but after upgradeing, I have lost "Thingworx Analytics Server Configuration". So I tried to configure it again with the same parameters as before but, after testing the configuration, it is not possible to save it (see attached image). I'm getting this error in  ScriptErrorLog.log file:

"

2020-01-13 13:15:48.131+0100 [L: ERROR] [O: S.c.t.d.e.DSLProcessor] [I: TW_ML_Helper] [U: Administrator] [S: ] [T: https-jsse-nio-443-exec-5] [message: Execution error in service script [CreateAnalyticsServerRuntimeInstanceAMS] :: Thing [AnalyticsServerRuntimeInstance] already exists]
at CreateAnalyticsServerRuntimeInstanceAMS:23

"

How can I solve it?

 

Thanks in advance.

 

Regards,

 

Olatz
 

 

olatz
13-Aquamarine
(To:olatz)

Hello,

 

To solve the problem I found the next article: https://www.ptc.com/en/support/article/cs299352

I had to delete a thing before a could delete AnalyticsServerRuntimeInstance thing.

Now the analysis event is working again.

 

Thanks,

 

Olatz.

Announcements


Top Tags