06-12-2017 12:29 PM
09-Jun-2017 14:06:05.024 SEVERE [http-nio-9999-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [appDispatcher] in context with path [/activiti-app] threw exception [Request processing failed; nested exception is org.activiti.engine.ActivitiException: You are not allowed to execute 'javascript' scripts.] with root cause
org.activiti.engine.ActivitiException: You are not allowed to execute 'javascript' scripts.
We put the following properties in the activiti-app.properties file
06-12-2017 03:03 PM
There is another file named whitelisted-scripts.conf in classes/activiti folder. Do you have "javascript" uncommented in there?
Ciju
06-12-2017 03:03 PM
There is another file named whitelisted-scripts.conf in classes/activiti folder. Do you have "javascript" uncommented in there?
Ciju
06-12-2017 07:34 PM
The strange thing is that it appears to be only on new fresh installs of 1.6.1. On my machine that i have upgraded from 1.5.3 it works fine. I will check on the developer's machine who is having the problem. I don't have the file you mention above at all. I have these which I haven't touched.
beans-whitelist.conf
javascript-whitelist-classes.conf
shell-commands-whitelist.conf
call-whitelist.conf
service-task-whitelist-classes.conf
version.properties
06-12-2017 08:08 PM
I am running 1.6.2 where there is a file called whitelisted-scripts.conf. Can you please check if it is 1.6.2 that the developers have on their machine?
06-13-2017 05:25 AM
They are definitely running 1.6.1.
06-13-2017 06:13 AM
I stand corrected. they did get the 1.6.2 bits. and your suggestion above fixed it
02-27-2019 01:00 AM
We have deployed APS 1.9.0.1 to k8s cluster and now I need to modify whitelisted-scripts.conf file to execute a process having script task.
How could we extend the whitelisted-scripts.conf file?
Explore our Alfresco products with the links below. Use labels to filter content by product module.