Switch to jruby-complete dependency.
Configure JRuby to run in thread-safe manner.