Huh! What is overkill with GlassFish? With glassfish v3 server, you can deploy your Rails application without any packaging. Just to run your Rails app on a Java server should not ask you to package it as WAR file.
Get glassfish v3 preview from here: http://download.java.net/glassfish/v3-preview/release/glassfish-v3-preview.zip and try it it is fast, reliable and suports deployment of Rails applications developed on JRuby without any need to do any additional packaging/configuration etc. -vivek. 2009/6/7 Maurício Linhares <mauricio.linha...@gmail.com> > > Don't use the glassfish app server for that, it's overkill, use a > lightweight solution like jetty -> http://jetty.mortbay.com/ > > Download the binary, generate a war file for your project using > warbler and then copy the .war file to the "your jetty install > folder"/webapps. Start jetty and the application should be available > at "http://localhost:8080/war_file_name". > > - > Maurício Linhares > http://alinhavado.wordpress.com/ (pt-br) | > http://codeshooter.wordpress.com/ (en) > > > > On Sun, Jun 7, 2009 at 7:16 PM, Vivek Pandey<vivek.pan...@gmail.com> > wrote: > > To host multiple applications, on the same server, you should be using > the > > glassfish application server (not glassfish gem). > > > > So , let say you have a running glassfish v3 server and lets say you have > > two apps in directories > > > > ~/apps1 > > ~/apps2 > > > > You would deploy them as: > > > > > > asadmin deploy ~/apps1 > > asadmin deploy ~/apps2 > > > > Then you can access these apps at, http://localhost:80/apps1/ and > > http://localhost:80/apps2/ > > > > You also have option to package the Rails app as WAR file and deploy on > > GlassFish server. See warbler doc, > > http://caldersphere.rubyforge.org/warbler/. > > > > -vivek. > > > > > > On Sun, Jun 7, 2009 at 11:30 AM, JannaB <mistressja...@hotmail.com> > wrote: > >> > >> If I am using only Glassfish, and deploying to say, port 80 ....how > >> can I handle multiple sites (multiple rails root dirs) on the same > >> machine? -JannaB > >> > >> On Jun 5, 1:12 pm, Vivek Pandey <vivek.pan...@gmail.com> wrote: > >> > > Vivek, you might want to create a screencast on how to deploy a > Rails > >> > > application > >> > > using JRuby and Glassfish. This will be helpful to others that want > >> > > to use > >> > > JRuby > >> > > as well as disprove some of the negative myths attached to it. > >> > > >> > There are several articles/blogs/wikis entries that describe running > >> > Rails > >> > on GlassFish server as well as glassfish gem. > >> > > >> > To get started see Charles Nutter blog on "Easy deployment with > >> > Glassfish > >> > gem" > >> > at: > http://blog.headius.com/2009/04/apache-jruby-rails-glassfish-easy.html > >> > > >> > I should have a new screen cast on Deployment of Rails/Merb/Sinatra on > >> > GlassFish gem soon. > >> > > >> > -vivek. > >> > > >> > > >> > > >> > > -Conrad > >> > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---