Skip to main content
15-Moonstone
March 24, 2019
Question

Upgrade Rhino engine

  • March 24, 2019
  • 1 reply
  • 1228 views

Hi,

 

In Thingworx 7.4, it is using custom-rhino-js-5.1.0.jar (Rhino 1.7R4, ES5 supported). It says that's a custom jar, may i know what i need to custom a standard rhino jar to get it work with Thingworx? Everything seems to be perfectly working with the latest version of Rhino engine (ES6+ supported).

 

My Bests,

Hung Tran

1 reply

Support
April 1, 2019

Hi @htran-21.

 

The following articles may provide some guidance:

 

"RHINO USAGE WARNING: Missed Context.javaToJS() conversion" messages in ThingWorx Tomcat Server Logs

Debugging JavaScript Service issues in ThingWorx

 

Regards.

 

--Sharon

 

 

 

htran-2115-MoonstoneAuthor
15-Moonstone
April 4, 2019

Hi Sharon,

 

Thank you for your information.

 

Everything looks great and better performance, a ton of bugs in 1.7R4 (released on  Jun 18, 2012) are fixed in 1.7.9 (released on Mar 16, 2018). 

 

It would be nice if Thingworx could allow to load an external script file into the scope of Service.

 

My Bests,

Hung Tran