Project

General

Profile

Redmine + Jruby - Exception in thread "Thread-25" java.lang.NoSuchMethodError

Added by Nicolas BOURGES almost 14 years ago

Hi,

I installed Redmine 1.0.4 on CentOS 5 with Jruby 1.3.1.

When I start the server with this command line everything works well :
jruby script/server webrick -e production

Few hours after, the server crash, and I get this error message when I try to connect to the HTTP server.

Exception in thread "Thread-25" java.lang.NoSuchMethodError: org.jruby.Ruby.isDebug()Z
at arjdbc.jdbc.RubyJdbcConnection$4.call(RubyJdbcConnection.java:234)
at arjdbc.jdbc.RubyJdbcConnection.withConnectionAndRetry(RubyJdbcConnection.java:1152)
at arjdbc.jdbc.RubyJdbcConnection.execute(RubyJdbcConnection.java:214)
at arjdbc.jdbc.RubyJdbcConnection$i_method_1_0$RUBYINVOKER$execute.call(arjdbc/jdbc/RubyJdbcConnection$i_method_1_0$RUBY
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:115)
at ruby.jit.ruby.usr.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_jdbc_minus_adapter_minus_1_dot_0_dot_3_minus_java.li
at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:49)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:145)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:154)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:115)
at ruby.jit.ruby.usr.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_jdbc_minus_adapter_minus_1_dot_0_dot_3_minus_java.li.rb:183)
at ruby.jit.ruby.usr.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_jdbc_minus_adapter_minus_1_dot_0_dot_3_minus_java.liock__xx1.call(Unknown Source)
at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:102)
at org.jruby.runtime.CompiledBlock.yieldSpecific(CompiledBlock.java:78)
at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activerecord.lib.active_record.connection_adapters.arb:204)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activerecord.lib.active_record.connection_adapters.aall(Unknown Source)
at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:102)
at org.jruby.runtime.CompiledBlock.yieldSpecific(CompiledBlock.java:78)
at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activesupport.lib.active_support.core_ext.benchmark.
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activesupport.lib.active_support.core_ext.benchmark.ce)
at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:102)
at org.jruby.runtime.CompiledBlock.yieldSpecific(CompiledBlock.java:78)
at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activesupport.lib.active_support.core_ext.benchmark.
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:128)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:146)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:84)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:101)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activesupport.lib.active_support.core_ext.benchmark.
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:128)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:146)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:84)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:101)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activerecord.lib.active_record.connection_adapters.ater.rb:204)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activerecord.lib.active_record.connection_adapters.a
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:196)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:178)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:164)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:181)
at ruby.jit.ruby.usr.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_jdbc_minus_adapter_minus_1_dot_0_dot_3_minus_java.li
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:94)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:129)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:35)
at ruby.jit.ruby.usr.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_jdbc_minus_adapter_minus_1_dot_0_dot_3_minus_java.li
at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:53)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:179)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:170)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:155)
at ruby.jit.ruby.usr.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_jdbc_minus_adapter_minus_1_dot_0_dot_3_minus_java.li
at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:53)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:179)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:170)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:155)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activerecord.lib.active_record.connection_adapters.atatements.rb:19)
at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:49)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:145)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:154)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:115)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activerecord.lib.active_record.calculations.execute_
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:94)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:129)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:35)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activerecord.lib.active_record.calculations.calculat
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activerecord.lib.active_record.calculations.calculate)
at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:102)
at org.jruby.runtime.Block.yield(Block.java:194)
at org.jruby.RubyKernel.rbCatch(RubyKernel.java:997)
at org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:124)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:141)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activerecord.lib.active_record.calculations.calculat
at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:57)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:213)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:186)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195)
at org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:173)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:151)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:115)
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:136)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:135)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:75)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:112)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:117)
at org.jruby.RubyClass.finvoke(RubyClass.java:415)
at org.jruby.RubyObject.send(RubyObject.java:1440)
at org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send.call(org/jruby/RubyObject$i_method_multi$RUBYINVOKER$send.gen)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:44)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:51)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activesupport.lib.active_support.callbacks.evaluate_
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:77)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:120)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:44)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:51)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activesupport.lib.active_support.callbacks.call83333
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activesupport.lib.active_support.callbacks.call83333
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:77)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:120)
at org.jruby.runtime.callsite.SuperCallSite.callBlock(SuperCallSite.java:48)
at org.jruby.runtime.callsite.SuperCallSite.call(SuperCallSite.java:55)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.actionpack.lib.action_controller.filters.call6627510
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:145)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:154)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:115)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.actionpack.lib.action_controller.filters.run_before_
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.actionpack.lib.action_controller.filters.run_before_
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:213)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:186)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.actionpack.lib.action_controller.filters.call_filter
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:213)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:186)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195)
at org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:136)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:135)
at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:75)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:218)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:169)
at org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:113)
at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activesupport.lib.active_support.core_ext.benchmark.
at ruby.jit.ruby.usr.share.redmine_minus_1_dot_0_dot_4.vendor.rails.activesupport.lib.active_support.core_ext.benchmark.ce)
at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:102)