]
jie tao commented on TEIID-3642:
--------------------------------
I added jdk.nashorn.api.scripting.NashornScriptEngineFactory but still the error
javax.script.ScriptEngineFactory: Provider
com.sun.script.javascript.RhinoScriptEngineFactory not found. Any help? I use teiid
designer at Eclipse Luna and try to preview data with test JDBC connection. my teidd
version is 8.11.4
RhinoScriptEngineFactory be removed in Java 8
----------------------------------------------
Key: TEIID-3642
URL:
https://issues.jboss.org/browse/TEIID-3642
Project: Teiid
Issue Type: Quality Risk
Components: OData
Affects Versions: 8.7.1.6_2, 8.12
Environment: * DV 6.2.0.ER4
* Java 1.8.0_25
Reporter: Kylin Soong
Assignee: Steven Hawkins
RhinoScriptEngineFactory be removed in Java 8, this cause OData war deploy output Error:
{code}
09:30:51,315 WARN [org.jboss.as.dependency.unsupported] (MSC service thread 1-6)
JBAS015868: Deployment "deployment.teiid-odata-8.7.1.6_2-redhat-2.war" is using
an unsupported module ("org.joda.time:main") which may be changed or removed in
future versions without notice.
09:30:51,424 ERROR [stderr] (MSC service thread 1-6) ScriptEngineManager
providers.next(): javax.script.ScriptEngineFactory: Provider
com.sun.script.javascript.RhinoScriptEngineFactory not found
09:30:51,429 ERROR [stderr] (MSC service thread 1-1) ScriptEngineManager
providers.next(): javax.script.ScriptEngineFactory: Provider
com.sun.script.javascript.RhinoScriptEngineFactory not found
09:30:51,505 ERROR [stderr] (MSC service thread 1-1) ScriptEngineManager
providers.next(): javax.script.ScriptEngineFactory: Provider
com.sun.script.javascript.RhinoScriptEngineFactory not found
09:30:51,513 ERROR [stderr] (MSC service thread 1-1) ScriptEngineManager
providers.next(): javax.script.ScriptEngineFactory: Provider
com.sun.script.javascript.RhinoScriptEngineFactory not found
09:30:51,583 ERROR [stderr] (MSC service thread 1-1) ScriptEngineManager
providers.next(): javax.script.ScriptEngineFactory: Provider
com.sun.script.javascript.RhinoScriptEngineFactory not found
{code}
*OData war* depend on *org.joda.time*, *org.joda.time* depend on
*RhinoScriptEngineFactory*, due to RhinoScriptEngineFactory be removed in Java 8, so
stderr output in console.
h3. how to reproduce
Start DV 6.2 with Java 8.