Can't find scripting engine for "JavaScript'

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

Can't find scripting engine for "JavaScript'

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
Alfresco Employee

Re: Can't find scripting engine for "JavaScript'

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

You maybe try lowercase 'javascript'