It seems more a problem with rack or rails but I'll take a look, perhaps I forgot to add any config parameter for rack or I missed anything.
Thank you for the feedback.
On Tue, Jun 16, 2009 at 2:00 AM, Arun Gupta
<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
--
Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
David Calavera
http://www.thinkincode.net