« Return to Thread: Jruby/Rails 2/Tomcat 5.5

Jruby/Rails 2/Tomcat 5.5

by Crall, Dennis P :: Rate this Message:

Reply to Author | View in Thread


Hello all,

I'm trying to deploy a Rails 2.0.2 app to Jruby. I'm using Warbler .9.2,
Goldspike 1.5 snapshot, and Jruby 1.1RC1 (I've also tried 1.0.3). The war
looks good. All my gems are present. I can view the Rails index.html page.
But I can't see any of the dynamic pages. Tomcat returns:

503 The server is currently overloaded, please try again later

In the log files, I see the following error:

javax.servlet.ServletException: Could not load Rails.
    See the logs for more details.
    at org.jruby.webapp.RailsFactory.makeObject(RailsFactory.java:139)
    at org.jruby.webapp.util.CustomObjectPool.addObjectInternal
        (CustomObjectPool.java:111)
    at org.jruby.webapp.util.CustomObjectPool.access$200
        (CustomObjectPool.java:15)
    at org.jruby.webapp.util.CustomObjectPool$PoolSizeManager.run
        (CustomObjectPool.java:193)

Is this a configuration that generate a working war file? If not, what is
the recommended configuration for Rails 2? I know support of Rails 2 isn't
solid yet, but it seems like some people have been successful.

Is the error meaningful to anyone?

Any help is appreciated. Thanks,

Denny


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

    http://xircles.codehaus.org/manage_email

 « Return to Thread: Jruby/Rails 2/Tomcat 5.5