would the GrizzlyAdapter work for hooking HTTP with non-Rack based ruby frameworks such as
CGI based script lang such as Perl or Python?
Thanks for the comprehensive answer
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> Date: Sat, 1 Aug 2009 20:10:35 -0700
> From: Vivek.Pandey_at_Sun.COM
> To: users_at_glassfish.dev.java.net
> Subject: Re: JRoR WAR deployment to GF3 fails
>
> Hassan Schroeder wrote:
> > On Fri, Jul 31, 2009 at 7:47 PM, Martin Gainty<mgainty_at_hotmail.com> wrote:
> >
> >> curious if your Ruby scripts use a cgi interpreter
> >> or a servlet based solution
> >>
> >
> > Using the standard Goldspike servlet runner (packaged by Warbler).
> >
> >
> It is jruby-rack and not Goldspike servlet. On GlassFish v3 server there
> are 2 ways you can run a Rails/Sinatra/Merb or any rack compliant
> application.
>
> 1. Just run your jRuby/Rack application without any special packaging by
> simply deploying on glassfish v3 server. This is made possible thru v3
> container pluggability extension (Sniffer,Container,Deployer) and uses
> implements a GrizzlyAdapter to directly hookup HTTP layer with Rails or
> MErb or any other Rack based ruby framework.
>
> $ asadmin deploy yourRailsAppDir/
>
> Of course you would need to set jruby.home JVM property (which is
> deprecated) or use
>
> $ asadmin jruby-container-config --jruby-home=...
>
> or use deploy time property
>
> $ asadmin deploy --property jruby.home=... yourRailsAppDir/
>
> 2. Use warbler gem, which uses jruby-rack, to create a WAR file and
> deploy on GlassFish v3 or v2.
>
> $ cd yourRailsAppDir/
> $ warble
> $ asadmin deploy yourRailsAppDir.war
>
> -vivek.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
_________________________________________________________________
Get your vacation photos on your phone!
http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM