Unable to run XAction when using JavaScript component
Using the JavaScriptAction allows arbitrary JavaScript code to be executed within the Pentaho Server environment. It has, therefore, been decided the disable the JavaScriptAction by default. If you understand the risk of enabling the JavaScriptAction, it may be enabled by following the steps described below.
Perform the following steps to enable the JavaScript:
Stop the server, if it is running.
Navigate to
/tomcat/webapps/pentaho/WEB-INF/classes/org/pentaho/platform/engine/services/runtime
.Open the
plugins.properties
file with any text editor.Locate the following component names and remove the hash (#) at the beginning of each line:
# org.pentaho.component.JavascriptRule = !org.pentaho.platform.plugin.action.javascript.JavascriptRule
# JavascriptRule = org.pentaho.platform.plugin.action.javascript.JavascriptRule
# org.pentaho.plugin.javascript.JavascriptRule = !org.pentaho.platform.plugin.action.javascript.JavascriptRule
Save and close the file.
Restart the server.
PreviousWindows domains will not authenticate when using the JTDS driverNextPDI cannot access Amazon S3
Last updated
Was this helpful?