Forum: JRuby Tracking down a LoadError

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Rafael de F. Ferreira (Guest)
on 2013-08-09 15:48
(Received via mailing list)
I'm having a tough time debugging an exception in my local setup:

org.jruby.exceptions.RaiseException: (LoadError) load error:
jruby/rack/rack_ext -- java.lang.invoke.WrongMethodTypeException:
MethodHandle(ThreadContext)IRubyObject should be of type

We are using warbler to generate a war file for our rack application.
generated file works flawlessly when run with "java -jar thefiile.war"
when deployed in Jetty.

But we also need to programatically start a jetty server from our
integration tests; we are using JRuby for that as well. The script to
launch the war file is quite simple: .

When we run the script the exception above is raised, the stacktrace can
found on the same gist.

Can anyone point me in the right direction to figure out what's going
This topic is locked and can not be replied to.