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

Re: Jruby/Rails 2/Tomcat 5.5

by Nick Sieger-2 :: Rate this Message:

Reply to Author | View in Thread

On Jan 23, 2008 4:27 PM, Crall, Dennis P <dennis-crall@...> wrote:

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

Can you look a bit further up in the log file to see if there's a Ruby message?

/Nick

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

    http://xircles.codehaus.org/manage_email

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