cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find scripting engine for "JavaScript'

lantzh
Champ in-the-making
Champ in-the-making

I'm running a custom application that utilizes Activiti 5.20 mainly through the REST API under Apache Tomcat. Recently our MySQL database had to be restored from backup. The restored Activiti database appears to be identical to the one pre-restoration, and the application is largely working except when I attempt to start a new process instance and get the following: "can't find scripting engine for "JavaScript".

If I enter Activiti Explorer and try to start a new process manually from the "Deployed Process Definitions" tab, the same error pops up.  None of the Activiti files were touched and the database is the same, so I'm stumped as to why Activit can no longer find the scripting engine. 

The Tomcat log does not indicate any errors. JDK was updated to 1.8 xxx a few weeks ago, but that did not affect the application.

Assistance would be greatly appreciated! 

-Lantz

1 REPLY 1

bassam_al-saror
Star Collaborator
Star Collaborator

Are you able to get a ScriptEngine instance from ScriptEngineManager ScriptEngineManager (Java Platform SE 8 ) ?

You maybe try lowercase 'javascript'