Bug 1194705
| Summary: | [Java 8] Using nashorn scripting results in error message in the server log | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Josef Cacek <jcacek> |
| Component: | Server | Assignee: | Chao Wang <chaowan> |
| Status: | CLOSED WONTFIX | QA Contact: | Pavel Slavicek <pslavice> |
| Severity: | low | Docs Contact: | eap-docs <eap-docs> |
| Priority: | unspecified | ||
| Version: | 6.4.0 | CC: | cdewolf, chaowan, jlivings, jmartisk, jsenshar, jwankhed |
| Target Milestone: | --- | ||
| Target Release: | EAP 6.4.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-05-28 09:28:26 UTC | Type: | Enhancement |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1195150 | ||
To be clear about the behavior. The scripting itself works, but the ERROR message is present in the log file. Upstream issue https://issues.jboss.org/browse/WFLY-3991 has been filed. This will not be fixed in EAP 6. |
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')");