|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Tomcat-rails, using an embed tomcat to develop rails applicationsFirst 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: and you can take a look at the source code here:
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
|
|
|
RE: Tomcat-rails, using an embed tomcat to develop rails applicationsjust tried it, works great so far –
thanks for making this! Richard F. From: David Calavera
[mailto:david.calavera@...] 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: and you can take a look at the source code here: 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 |
|
|
Re: Tomcat-rails, using an embed tomcat to develop rails applicationsTried 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 |
|
|
Re: Tomcat-rails, using an embed tomcat to develop rails applicationsIt 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: -- David Calavera http://www.thinkincode.net |
|
|
Re: Tomcat-rails, using an embed tomcat to develop rails applicationsThanks!
David Calavera wrote: > 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@... > <mailto: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 -- Application Platform, Sun Microsystems, Inc. Blog: http://blogs.sun.com/arungupta --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Tomcat-rails, using an embed tomcat to develop rails applicationsI 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 On Wed, Jun 17, 2009 at 12:40 AM, Arun Gupta <Arun.Gupta@...> wrote: Thanks! -- David Calavera http://www.thinkincode.net |
|
|
Re: Tomcat-rails, using an embed tomcat to develop rails applicationsOn Thu, Jun 11, 2009 at 1:45 PM, David Calavera<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. Very nice! I never got around to replying before vacation, but I think this sort of playing with embedding servers is a great way to encourage JRuby use. The easier it is to run, the more Rubyists will be able to "just run it". Do you have any plans for improving it further? - Charlie --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Tomcat-rails, using an embed tomcat to develop rails applicationsI have some ideas to improve it, and of course any advice and new ideas are welcome, but right now the development is stopped because first of all I must change the name, the apache tomcat trademark doesn't allow to use the name "tomcat" as the first word in the name of a derivative project and I already received two emails from a tomcat commiter asking me when I'm going to change it.
On Wed, Jul 1, 2009 at 7:10 PM, Charles Oliver Nutter <headius@...> wrote:
-- David Calavera http://www.thinkincode.net |
|
|
Re: Tomcat-rails, using an embed tomcat to develop rails applicationsGetting back to this thread ...
Hi David, I created a template Rails app, warbled it up and deployed on GlassFish v2.1 and getting the same error as well. So I don't think it's anything to do with tomcat-rails. This error is also reported at: http://kenai.com/projects/jruby-rack/lists/talk/archive/2009-05/message/2 Following it up on the IRC and with Nick. Thanks, -Arun David Calavera wrote: > 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 > > On Wed, Jun 17, 2009 at 12:40 AM, Arun Gupta <Arun.Gupta@... > <mailto:Arun.Gupta@...>> wrote: > > Thanks! > > David Calavera wrote: > > 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@... > <mailto:Arun.Gupta@...> <mailto:Arun.Gupta@... > <mailto: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 > > > -- > 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 -- Application Platform, Sun Microsystems, Inc. Blog: http://blogs.sun.com/arungupta --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Tomcat-rails, using an embed tomcat to develop rails applicationsThe 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 |
| Free embeddable forum powered by Nabble | Forum Help |