Skip to content

Instantly share code, notes, and snippets.

@csmuc
Created April 26, 2010 19:47
Show Gist options
  • Save csmuc/379791 to your computer and use it in GitHub Desktop.
Save csmuc/379791 to your computer and use it in GitHub Desktop.
.......F.....Exception in thread "ActiveMQ Session Task" java.lang.VerifyError: class JRuby$$Rack$$Queues$$LocalRackApplication_685969874 overrides final method getRuntime.()Lorg/jruby/Ruby;
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:698)
at org.jruby.util.JRubyClassLoader.defineClass(JRubyClassLoader.java:39)
at org.jruby.java.codegen.RealClassGenerator.defineRealImplClass(RealClassGenerator.java:459)
at org.jruby.java.codegen.RealClassGenerator.createRealImplClass(RealClassGenerator.java:70)
at org.jruby.javasupport.Java.generateRealClass(Java.java:1169)
at org.jruby.java.proxies.JavaInterfaceTemplate$9.call(JavaInterfaceTemplate.java:269)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:182)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:178)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
at ruby.jit.getApplication_D5968F27E83F55F4D43E668CEC4E4B7E2C3DB401.__file__(local.rb:43)
at ruby.jit.getApplication_D5968F27E83F55F4D43E668CEC4E4B7E2C3DB401.__file__(local.rb)
at ruby.jit.getApplication_D5968F27E83F55F4D43E668CEC4E4B7E2C3DB401.__file__(local.rb)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:85)
at JRuby$$Rack$$Queues$$LocalRackApplicationFactory_247126387.getApplication(JRuby$$Rack$$Queues$$LocalRackApplicationFactory_247126387.gen:13)
at org.jruby.rack.jms.DefaultQueueManager$RubyObjectMessageListener.onMessage(DefaultQueueManager.java:130)
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1021)
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:122)
at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:192)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
........Sending msg to quentin@example.com
class LocalRackApplication
include Java::OrgJrubyRack::RackApplication
def getRuntime
@runtime ||= begin
require 'jruby'
JRuby.runtime
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment