Hi
I have a ruby on rails application that we deployed on weblogic 10.1 it
works fine. We are upgrading to weblogic 10.3.5 version and when
deployed
on new version, we are getting “java.lang.NoSuchMethodError:
org.joda.time.DateTimeZone.isStandardOffset(J)Z” error. I have put the
Joda-time 1.6 in lib folder of war file and jruby lib directory. I still
get the same error. Details of my environment are as follows
Jruby Version
jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java
HotSpot™ Client VM 1.6.0) [x86-java]
*** LOCAL GEMS ***
actionmailer (2.3.5)
actionpack (2.3.5)
activemodel (3.0.7)
activerecord (2.3.5)
activerecord-jdbc-adapter (0.9.2)
activerecord-oracle_enhanced-adapter (1.2.3)
activeresource (2.3.5)
activesupport (3.0.7, 2.3.5)
arel (2.0.9)
authlogic (2.1.3)
bouncy-castle-java (1.5.0146.1)
builder (2.1.2)
i18n (0.5.0)
jerryluk-jruby-rfc2445 (0.0.4)
jruby-jars (1.6.1, 1.4.0)
jruby-openssl (0.7.5)
lockdown (1.6.3)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rspec (1.2.9)
ruby-net-ldap (0.0.4)
ruby-plsql (0.4.0)
sources (0.0.1)
tzinfo (0.3.26)
warbler (0.9.14)
Error
java.lang.NoSuchMethodError:
org.joda.time.DateTimeZone.isStandardOffset(J)Z
at org.jruby.RubyTime.isdst(RubyTime.java:542)
at
org.jruby.RubyTime$i_method_0_0$RUBYINVOKER$isdst.call(org/jruby/RubyTime$i_method_0_0$RUBYINVOKER$isdst.gen)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:290)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:109)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at org.jruby.ast.IfNode.interpret(IfNode.java:111)
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.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:225)
at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:147)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:173)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:169)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:310)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:149)
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
Any help is greatly appreciated.
Thanks