atom feed13 messages in net.java.dev.glassfish.usersRe: Glassfish + Jruby
FromSent OnAttachments
Aaron AxelsenOct 21, 2009 3:45 pm 
Vivek PandeyOct 21, 2009 4:10 pm 
Martin GaintyOct 21, 2009 4:29 pm 
Hassan SchroederOct 21, 2009 5:54 pm 
Martin GaintyOct 21, 2009 6:48 pm 
John ClinganOct 22, 2009 11:27 am 
Vivek PandeyOct 22, 2009 12:01 pm 
Martin GaintyOct 22, 2009 12:12 pm 
Vivek PandeyOct 22, 2009 1:05 pm 
Martin GaintyOct 22, 2009 1:12 pm 
Vivek PandeyOct 22, 2009 1:39 pm 
Aaron AxelsenOct 27, 2009 6:17 am 
Vivek PandeyOct 27, 2009 1:17 pm 
Subject:Re: Glassfish + Jruby
From:Vivek Pandey (Vive@Sun.COM)
Date:Oct 22, 2009 12:01:13 pm
List:net.java.dev.glassfish.users

[cc Anissa]

John Clingan wrote:

Vivek, I have a fairly clean install of build 69. I do have a "JRuby Container" configuration tree node for defining the JRuby pool size, but I haven't installed any JRuby modules from the update center. Since I haven't installed JRuby, what is the purpose of that tree node?

So that you can configure JRuby Container say where it can find JRuby installation.

For a Ruby developer who wants to deploy on glassfish there are 2 ways JRuby can be available,

1. thru update center or 2. your own jruby installation.

Ideally, for 1, admin ui should prefill JRuby Home text box, this is because we known if jruby is installed using update center and how/where to find the interpreter libraries. In case of 2, you would need to enter where the JRuby install is located.

-vivek.

On Oct 21, 2009, at 4:10 PM, Vivek Pandey wrote:

Aaron Axelsen wrote:

I have installed glassfish, activated both the jruby and jruby-gems components.

You mean you installed jruby and jruby-gems from glassfish update center? If so, then you are all set. Simply deploy your ruby application using 'asadmin deploy command'.

Are there any additional steps to enable jruby support? Do I also need to install jruby somewhere on the system? (Sorry if this is a given, but i'm having a hard time finding any explained information on this via google).

As I mentioned above, if you have installed jruby/jruby-gem via glassfish updatecenter then no further jruby related configuration needed.

The ruby container option in the admin area leads me to think there is something more to install.

The configure-jruby-container man page was added recently. Can you try' asadmin configure-jruby-container --help' command on the latest nightly and it should explain which options are required.

-vivek.