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
Solved! Go to Solution.
There is another file named whitelisted-scripts.conf in classes/activiti folder. Do you have "javascript" uncommented in there?
Ciju
There is another file named whitelisted-scripts.conf in classes/activiti folder. Do you have "javascript" uncommented in there?
Ciju
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
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?
They are definitely running 1.6.1.
I stand corrected. they did get the 1.6.2 bits. and your suggestion above fixed it
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?
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.