Bug 1194705 - [Java 8] Using nashorn scripting results in error message in the server log
Summary: [Java 8] Using nashorn scripting results in error message in the server log
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Server
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: EAP 6.4.1
Assignee: Chao Wang
QA Contact: Pavel Slavicek
eap-docs
URL:
Whiteboard:
Depends On:
Blocks: 1195150
TreeView+ depends on / blocked
 
Reported: 2015-02-20 15:22 UTC by Josef Cacek
Modified: 2019-10-10 09:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-28 09:28:26 UTC
Type: Enhancement
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-3991 0 Major Resolved JDK 1.8 javax.script.ScriptEngineFactory: Provider com.sun.script.javascript.RhinoScriptEngineFactory not found 2020-03-26 05:57:28 UTC
Red Hat Knowledge Base (Solution) 1395503 0 None None None Never

Description Josef Cacek 2015-02-20 15:22:21 UTC
When using Java 8 scripting in the deployed application, I can see Error message in the log:

15:08:57,960 ERROR [stderr] (http-/127.0.0.1:8080-1) ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider com.sun.script.javascript.RhinoScriptEngineFactory not found

Sample Java code to reproduce the issue:
new ScriptEngineManager().getEngineByName("nashorn").eval("print('Hello')");

Comment 3 Josef Cacek 2015-03-30 09:28:57 UTC
To be clear about the behavior. The scripting itself works, but the ERROR message is present in the log file.

Comment 10 Carlo de Wolf 2015-05-28 09:28:26 UTC
Upstream issue https://issues.jboss.org/browse/WFLY-3991 has been filed. This will not be fixed in EAP 6.


Note You need to log in before you can comment on or make changes to this bug.