Re: [jruby-user] JRuby complete, multi-threading, and java.lang.NoClassDefFoundError
Greg Allen <[email protected]> Wed, 4 Feb 2015 14:19:16 -0500
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <CANdke5gXZ+hZvGFF8ck0TU_7hXEUu4kyqwJE9gpW4gxT4pv_dA@mail.gmail.com> |
So any suggestions? Is my only option to use LocalContextScope.SINGLETON and have each thread use it's own ruby runtime? On Wed, Feb 4, 2015 at 1:15 PM, christian <[email protected]> wrote: > well, it shows what was almost clear. you start kind of the jruby runtimes > at the "same" time and with loading the jar into jruby-classloader of the > runtime something goes wrong. LocalContextScope.THREADSAFE should do the > trick but apparently it does NOT :( >