
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
James,
I simply put the following into my httpd.conf: (I am runninf Apache 1.3.33...I think you must have it set up to be able to do VirtualHosting as well -- which is set up if you have installed, say InstantRailis and their examples):
<VirtualHost *>
ServerName gg.dyndns.org
DocumentRoot C:/jruby/rails_apps/gg/public/
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000
</VirtualHost>
Then fire up the LATEST Glassfish gem on, say, port 3000:
C:\jruby\rails_apps\gg>jruby -S glassfish
Voila...blazing speed, can handle lots of traffic. Note that I am also cominging into apache from a dyndns name. So, whatever IP I have, I can go straight to execution on the glassfish gem and NO warring up! What could be easier deployment, or a faster execution? -Janna B
From:
james.herdman@...Date: Thu, 25 Jun 2009 09:17:10 -0400
To:
user@...Subject: Re: [jruby-user] Rails and JRuby
How does the proxying to Glassfish work? Doesn't Glassfish have Grizzly for handling incoming requests quickly?
James
On Fri, Jun 19, 2009 at 3:55 PM, marc
<gmane@...> wrote:
Mistress Janna Brossard said:
> I find the glassfish gem to be the most performant of all -- and I don't
> need to war-up my app.
>
> I proxy to the glassfish gem out of apache.
Ditto. I use glassfish3
I also have some mongrel cluster stuff, but glassfish is simpler and just
works.
--
Best,
Marc
"Change requires small steps."
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Windows Liveā¢: Keep your life in sync.
Check it out.