Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hostname-selection does not work #109

Open
fviale opened this issue Jun 19, 2018 · 0 comments
Open

hostname-selection does not work #109

fviale opened this issue Jun 19, 2018 · 0 comments

Comments

@fviale
Copy link
Member

fviale commented Jun 19, 2018

The following exception is printed during the script execution, this is due to javascript selection script which use an non-appropriate syntax

[2018-06-19 13:53:25,503 -thread-15 WARN        o.o.p.r.s.ScriptExecutor] pamr://4144/local-TestLocal1-0_0 : exception during the script execution
org.ow2.proactive.scripting.ScriptException: ReferenceError: "importPackage" is not defined in SimpleScript at line number 1
    at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:470)
    at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:454)
    at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406)
    at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)
    at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:150)
    at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:249)
    at org.ow2.proactive.scripting.Script.execute(Script.java:387)
    at org.ow2.proactive.scripting.ScriptHandler.handle(ScriptHandler.java:94)
    at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.objectweb.proactive.core.mop.MethodCall.execute(MethodCall.java:243)
    at org.objectweb.proactive.core.body.request.RequestImpl.serveInternal(RequestImpl.java:207)
    at org.objectweb.proactive.core.body.request.RequestImpl.serve(RequestImpl.java:153)
    at org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serveInternal(BodyImpl.java:561)
    at org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serve(BodyImpl.java:486)
    at org.objectweb.proactive.core.body.AbstractBody.serve(AbstractBody.java:417)
    at org.objectweb.proactive.Service.serve(Service.java:119)
    at org.objectweb.proactive.Service.blockingServeOldest(Service.java:203)
    at org.objectweb.proactive.Service.blockingServeOldest(Service.java:178)
    at org.objectweb.proactive.Service.fifoServing(Service.java:141)
    at org.objectweb.proactive.core.body.ActiveBody$FIFORunActive.runActivity(ActiveBody.java:329)
    at org.objectweb.proactive.core.body.ActiveBody.run(ActiveBody.java:167)
    at java.lang.Thread.run(Thread.java:748)
fviale added a commit to fviale/connector-r that referenced this issue Jun 19, 2018
Add nashorn compatibility to allow usage of importPackage
fviale added a commit that referenced this issue Jun 19, 2018
fix for #109 hostname-selection does not work
fviale added a commit that referenced this issue Jun 19, 2018
Add nashorn compatibility to allow usage of importPackage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant