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

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

just tried it, works great so far - thanks for making this!

Richard F.


From: David C. [mailto:[email protected]]
Sent: Thursday, June 11, 2009 11:46 AM
To: [email protected]
Subject: [jruby-user] Tomcat-rails, using an embed tomcat to develop
rails applications

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

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 C. wrote:

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

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.

Thanks!

David C. wrote:

       at
    feedback is the best way to catch bugs and get new ideas.

Application Platform, Sun Microsystems, Inc.


David C.
http://www.thinkincode.net


Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I don’t have any clue about that error, Arun, could you explain me
anything
about your template app or even send it to my email?

Thank you