Re: [jruby-user] jsr223 legacy behaviour
Francesco Malvezzi <[email protected]> Fri, 30 Jan 2015 08:37:14 +0100
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <[email protected]> |
Il 29/01/15 17:59, Yoko Harada ha scritto:
> Hi Francesco,
>
> Context Type: SingleThread
> Variable Behavior: Global Local
>
> should work the same as jsr223 reference
> implementation, jruby-engine-20080611.
>
> Defaults are Singleton and Transient, so you need to explicitly specify
> the values. But, global local variable behavior is set when JSR223
> engine is instantiated as far as I know.
>
> Hope this helps,
> - Yoko
Are these the correct settings according to your kind response?
jetty 28117 9.7 40.5 2776288 835200 ? Sl 08:18 1:28
/usr/bin/java -Xmx1024m -XX:MaxPermSize=128m
-Dorg.jruby.embed.localcontext.scope=singlethread
-Dorg.jruby.embed.localvariable.behavior=global
-Didp.home=/opt/shibboleth-idp -Djetty.home=/opt/jetty
-Djetty.base=/opt/jetty-base -Djava.io.tmpdir=/opt/jetty-base/temp -jar
/opt/jetty/start.jar jetty-started.xml
start-log-file=/opt/jetty-base/logs/start.log
If yes, unfortunately, it does not fix my issue:
globals carry on getting overwritten.
Thank you,
Francesco
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email