Incorrect SSLSocket implementation loaded despire require 
'jruby/openssl/gem_only' statement.
---------------------------------------------------------------------------------------------

                 Key: JRUBY-5178
                 URL: http://jira.codehaus.org/browse/JRUBY-5178
             Project: JRuby
          Issue Type: Bug
         Environment: jruby-jars-1.5.3
jruby-openssl-0.7.1
rails 2.3.3
Linux
            Reporter: Erik Eide
            Assignee: Thomas E Enebo


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:

http://jruby.org/openssl

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..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to