« Return to Thread: Tomcat-rails, using an embed tomcat to develop rails applications

Re: Tomcat-rails, using an embed tomcat to develop rails applications

by Arun Gupta :: Rate this Message:

Reply to Author | View in Thread

The workaround for this issue is now described at:

http://blogs.sun.com/arungupta/entry/totd_87_how_to_fix

Thanks,
-Arun

Arun Gupta wrote:

> Tried with JRuby 1.3.0 and got the following error for a template
> application:
>
> Caused by: org.jruby.exceptions.RaiseException: undefined method `new'
> for "Rack::Lock":String
>         at
> ActionController::MiddlewareStack::Middleware.build(/Users/arungupta/tools/jruby-1.3.0/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:116)
>
>         at
> ActionController::MiddlewareStack.build(/Users/arungupta/tools/jruby-1.3.0/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:116)
>
>         at
> Array.each(/Users/arungupta/tools/jruby-1.3.0/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:116)
>
>         at
> Enumerable.inject(/Users/arungupta/tools/jruby-1.3.0/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:116)
>
>         at
> ActionController::MiddlewareStack.build(/Users/arungupta/tools/jruby-1.3.0/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:82)
>
>
> Any idea ?
>
> -Arun
>
> David Calavera wrote:
>> First of all, apologizes for the self promotion, but the users
>> feedback is the best way to catch bugs and get new ideas.
>>
>> I've released a jruby gem to use an embed Tomcat to develop rails
>> applications, as we do with mongrel, webrick or jetty. The project is
>> built in top of jruby-rack and you can grab it from github,
>> it's web page is:
>>
>>     http://calavera.github.com/tomcat-rails
>>
>> and you can take a look at the source code here:
>>
>>     http://github.com/calavera/tomcat-rails
>>
>> Please, feel free to send me bugs, feedback, comments or whatever. At
>> the moment the project has just been tested with a really basic
>> application.
>>
>> Cheers
>

--
Need Application Server ? Download from http://glassfish.org
Blog: http://blogs.sun.com/arungupta

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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Tomcat-rails, using an embed tomcat to develop rails applications