Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: None
-
Labels:None
-
Environment:jruby-jars-1.5.3
jruby-openssl-0.7.1
rails 2.3.3
Linux
-
Number of attachments :
Description
I have a Rails app running on Linux boxes (not sure what flavour, I don't have access to them) that occassional, after a daily restart, try and load the wrong SSL class implementations raising the following error:
2010-11-10 05:40:03,588 [TP-Processor162] {} INFO jruby.rack - Exception ArgumentError occured, with wrong # of arguments(2 for 0)
file:/vhosts/dw11570/content/20101108-232418/tomcat/webapps/iris3/WEB-INF/lib/jruby-stdlib-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/net/http.rb:567:in `initialize'
file:/vhosts/dw11570/content/20101108-232418/tomcat/webapps/iris3/WEB-INF/lib/jruby-stdlib-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/net/http.rb:567:in `new'
file:/vhosts/dw11570/content/20101108-232418/tomcat/webapps/iris3/WEB-INF/lib/jruby-stdlib-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/net/http.rb:567:in `connect'
file:/vhosts/dw11570/content/20101108-232418/tomcat/webapps/iris3/WEB-INF/lib/jruby-stdlib-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/net/http.rb:553:in `do_start'
file:/vhosts/dw11570/content/20101108-232418/tomcat/webapps/iris3/WEB-INF/lib/jruby-stdlib-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/net/http.rb:542:in `start'
/vhosts/dw11570/content/current/contentsys/compiled/tomcat/webapps/iris3/WEB-INF/gems/gems/savon-0.7.9/lib/savon/request.rb:82:in `wsdl'
/vhosts/dw11570/content/current/contentsys/compiled/tomcat/webapps/iris3/WEB-INF/gems/gems/savon-0.7.9/lib/savon/wsdl.rb:122:in `to_s'
/vhosts/dw11570/content/current/contentsys/compiled/tomcat/webapps/iris3/WEB-INF/gems/gems/savon-0.7.9/lib/savon/wsdl.rb:131:in `stream'
/vhosts/dw11570/content/current/contentsys/compiled/tomcat/webapps/iris3/WEB-INF/gems/gems/savon-0.7.9/lib/savon/wsdl.rb:94:in `soap_actions'
/vhosts/dw11570/content/current/contentsys/compiled/tomcat/webapps/iris3/WEB-INF/gems/gems/savon-0.7.9/lib/savon/wsdl.rb:110:in `respond_to?'
/vhosts/dw11570/content/current/contentsys/compiled/tomcat/webapps/iris3/WEB-INF/gems/gems/savon-0.7.9/lib/savon/client.rb:92:in `method_missing'
I've tried adding require 'jruby/openssl/gem_only' to the environment.rb file, to try an expose the conflic, as documented here:
but the error still occurs, without reporting the conflict
I've not been able to replicate the error in console/jirb or test case so far..
Small typo, I meant rails 2.3.8