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 about 5 years ago. Updated about 5 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 #1

Updated by Félix DALLIDET about 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)

Actions #2

Updated by François ARMAND about 5 years ago

We are going to revert the corresponding setting and find an other way to deal with the warning.

Actions #3

Updated by François ARMAND about 5 years ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #4

Updated by François ARMAND about 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
Actions #5

Updated by François ARMAND about 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by François ARMAND about 5 years ago

  • Fix check changed from To do to Checked
Actions #7

Updated by Vincent MEMBRÉ about 5 years ago

  • Name check changed from To do to Reviewed
Actions #8

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.13 which was released today.

Actions

Also available in: Atom PDF