binding issues

2017-01-11 Thread Andreas Mueller
ings, e.g. a binding from a previous running instance of the script or something else. Can somebody provide some help? What do I need to do to have always a clean instance of a binding when I rerun a script without stopping the JVM? Thanks, Andreas -- Andreas Mueller IIT Software GmbH http://www.

Re: binding issues

2017-01-12 Thread Andreas Mueller
jan Athijegannathan > : > > Will you please submit a bug with a compilable/runnable test case attached? > > Thanks, > -Sundar > >> On 11/01/17, 11:09 PM, Andreas Mueller wrote: >> Hi, >> >> it seems I have a problem understanding Nashorn’s bindings... >>

Re: binding issues

2017-01-12 Thread Andreas Mueller
s) when > possible. That should also not result in any issue (there may be bugs). > > Hope I addressed your questions, > -Sundar > > On 12/01/17, 1:42 PM, Andreas Mueller wrote: >> Will do. >> >> Can you tell me whether the engine is shared between scripts? Is t

Re: binding issues

2017-01-12 Thread Andreas Mueller
. It’s always my code! I need to pin that mantra on my office wall. ;-) So, thanks a lot for you help! -- Andreas Mueller IIT Software GmbH http://www.swiftmq.com > On 12.01.2017, at 13:54, Sundararajan Athijegannathan > wrote: > > That does not give us much info. to debug the iss

Nashorn Standalone 15.3 engine returned is null

2021-07-13 Thread Andreas Mueller
27; not found! Any ideas what the problem could be? Thanks, Andreas --  Andreas Mueller IIT Software GmbH http://www.swiftmq.com <http://www.swiftmq.com>

Re: Nashorn Standalone 15.3 engine returned is null

2021-07-15 Thread Andreas Mueller
ScriptEngineManager manager = new ScriptEngineManager(); ClassLoader classLoader = createClassLoader(); streamContext.classLoader = classLoader; Thread.currentThread().setContextClassLoader(classLoader); Thanks, Andreas --  Andreas Mueller IIT Software GmbH http://www.swiftmq.com <http://www.sw

Re: Nashorn Standalone 15.3 engine returned is null

2021-07-15 Thread Andreas Mueller
   52826 Jul 11 14:31 asm-tree-7.3.1.jar -rwxr-xr-x  1 am  staff    84817 Jul 11 14:31 asm-util-7.3.1.jar -rwxr-xr-x  1 am  staff  2167288 Jul 11 14:31 nashorn-core-15.3.jar This is my module path: --add-modules org.openjdk.nashorn --module-path ../nashorn --  Andreas Mueller IIT Software GmbH

Re: Nashorn Standalone 15.3 engine returned is null

2021-07-15 Thread Andreas Mueller
.getEngineByName((String)  entity.getProperty("script-language").getValue()); It is listed but returns null. This code is executed by a dedicated class loader. --  Andreas Mueller IIT Software GmbH http://www.swiftmq.com <http://www.swiftmq.com> On 15. Jul 2021, at 10:59, Andreas