Jruby on rails application crashes when starting mongrel
--------------------------------------------------------

                 Key: JRUBY-1736
                 URL: http://jira.codehaus.org/browse/JRUBY-1736
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1b1
         Environment: ubuntu 7.10. rails 2.0.1, mongrel 1.1.1
            Reporter: Juan Tarquino
            Assignee: Thomas E Enebo


When starting the rails application I get this error:

java.lang.NoSuchMethodError: 
org.jruby.javasupport.JavaEmbedUtils.newObjectAdapter()Lorg/jruby/RubyObjectAdapter;
        at org.jruby.ext.openssl.X509StoreCtx.<clinit>(X509StoreCtx.java:62)
        at org.jruby.ext.openssl.X509Store.createX509Store(X509Store.java:78)
        at org.jruby.ext.openssl.X509.createX509(X509.java:45)
        at org.jruby.ext.openssl.OpenSSLReal.createOpenSSL(OpenSSLReal.java:83)
        at JopensslService.basicLoad(JopensslService.java:38)
        at 
org.jruby.runtime.load.ClassExtensionLibrary.load(ClassExtensionLibrary.java:50)
        at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:318)
        at org.jruby.runtime.load.LoadService.require(LoadService.java:344)
        at org.jruby.RubyKernel.require(RubyKernel.java:671)
        at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown Source)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:154)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:107)
        at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1518)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:357)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
        at org.jruby.Ruby.loadFile(Ruby.java:1791)
        at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:49)
        at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:318)
        at org.jruby.runtime.load.LoadService.require(LoadService.java:344)
        at org.jruby.RubyKernel.require(RubyKernel.java:671)
        at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown Source)
        at org.jruby.RubyObject.callMethod(RubyObject.java:512)
        at org.jruby.RubyObject.callMethod(RubyObject.java:459)
        at org.jruby.Ruby$3.load(Ruby.java:1238)
        at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:318)
        at org.jruby.runtime.load.LoadService.require(LoadService.java:344)
        at org.jruby.RubyKernel.require(RubyKernel.java:671)
        at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown Source)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:154)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:107)
        at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at 
org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:1416)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:351)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1518)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:357)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
        at org.jruby.Ruby.loadFile(Ruby.java:1791)
        at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:49)
        at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:318)
        at org.jruby.runtime.load.LoadService.require(LoadService.java:344)
        at org.jruby.RubyKernel.require(RubyKernel.java:671)
        at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown Source)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:154)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:107)
        at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1518)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:357)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
        at org.jruby.Ruby.loadFile(Ruby.java:1791)
        at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:49)
        at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:318)
        at org.jruby.runtime.load.LoadService.require(LoadService.java:344)
        at org.jruby.RubyKernel.require(RubyKernel.java:671)
        at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown Source)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:154)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:107)
        at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1518)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:357)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
        at org.jruby.Ruby.loadFile(Ruby.java:1791)
        at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:49)
        at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:318)
        at org.jruby.runtime.load.LoadService.require(LoadService.java:344)
        at org.jruby.RubyKernel.require(RubyKernel.java:671)
        at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown Source)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:154)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:107)
        at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1518)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:357)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
        at org.jruby.Ruby.loadFile(Ruby.java:1791)
        at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:49)
        at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:318)
        at org.jruby.runtime.load.LoadService.require(LoadService.java:344)
        at org.jruby.RubyKernel.require(RubyKernel.java:671)
        at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown Source)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:154)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:107)
        at script.server.__file__(script/server:4)
        at script.server.load(script/server)
        at org.jruby.Ruby.runScript(Ruby.java:561)
        at org.jruby.Ruby.runNormally(Ruby.java:483)
        at org.jruby.Ruby.runFromMain(Ruby.java:409)
        at org.jruby.Main.runInterpreter(Main.java:229)
        at org.jruby.Main.runInterpreter(Main.java:185)
        at org.jruby.Main.run(Main.java:117)
        at org.jruby.Main.main(Main.java:92)

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