Project

General

Profile

Actions

Bug #15659

closed

Bug #14822: Remove warning: "Nashorn engine is planned to be removed from a future JDK release "

Bug #15652: Too many quotes in nashorn warning JDK parameter

Webapp fails to generate policies due to java nashorn warning setting

Added by Félix DALLIDET over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Server components
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

Since the latest nightly, the webapp can no longer generate policies and display the following error:
[2019-09-09 11:25:59] ERROR policy.generation - Error when updating policy, reason was: Cannot build target configuration node <- Error when trying to get the java script engine. Check with your system administrator that you JVM support JSR-223 with javascript

This seems to come from nashorn since a simple workaroud was removing the parameter -Dnashorn.args=--no-deprecation-warning" option from /opt/rudder/etc/rudder-jetty.conf

Actions

Also available in: Atom PDF