Bug #15659
closedBug #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
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
Updated by Félix DALLIDET over 5 years ago
This was seen on SLES15 with the following java:server:~ # java -version
openjdk version "10.0.1" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-suse-1.30-x8664)
OpenJDK 64-Bit Server VM (build 10.0.1+10-suse-1.30-x8664, mixed mode)
Updated by François ARMAND over 5 years ago
We are going to revert the corresponding setting and find an other way to deal with the warning.
Updated by François ARMAND over 5 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND over 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Félix DALLIDET
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2057
Updated by François ARMAND over 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|057c8751c5ed9684c678f1b71488e4e9f5acbc24.
Updated by François ARMAND over 5 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 5 years ago
- Name check changed from To do to Reviewed
Updated by Vincent MEMBRÉ over 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.13 which was released today.