Skip to main content

Glassfish + Jruby

12 replies [Last post]
Anonymous

I have installed glassfish, activated both the jruby and jruby-gems
components. 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). The ruby container option in the admin area leads me
to think there is something more to install.

--
Aaron Axelsen
lists@frozenpc.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Aaron Axelsen

Thanks this was helpful - but does anyone have a sample jruby hello
world app or something I can deploy to glassfish to verify jruby
functionalty? Thanks!

-- Aaron

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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Vivek Pandey

Sure! http://wiki.glassfish.java.net/Wiki.jsp?page=GettingStartedGuide.

-vivek.

Aaron Axelsen wrote:
> Thanks this was helpful - but does anyone have a sample jruby hello
> world app or something I can deploy to glassfish to verify jruby
> functionalty? Thanks!
>
> -- Aaron
>
> 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.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>> For additional commands, e-mail: users-help@glassfish.dev.java.net
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

John Clingan

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?

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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Vivek Pandey

[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.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>> For additional commands, e-mail: users-help@glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Martin Gainty

any ability to port an existing ruby codebase (via option 2)
so jruby (interpreter) can convert/parse ruby to 'jruby'?
(seeking an 'automated solution')

thanks,
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: Thu, 22 Oct 2009 12:01:48 -0700
> From: Vivek.Pandey@Sun.COM
> To: users@glassfish.dev.java.net
> CC: Anissa.Lam@Sun.COM
> Subject: Re: Glassfish + Jruby
>
> [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.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> >> For additional commands, e-mail: users-help@glassfish.dev.java.net
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

_________________________________________________________________
Windows 7: Simplify your PC. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T...
[att1.html]

Vivek Pandey

Not sure what you mean by 'parse ruby to jruby'. JRuby is a Java based
Ruby language interpreter. So any Ruby code can be executed using JRuby.
Basically JRuby generates java bytecodes for the given Ruby script to
run on JVM.

-vivek.

Martin Gainty wrote:
> any ability to port an existing ruby codebase (via option 2)
> so jruby (interpreter) can convert/parse ruby to 'jruby'?
> (seeking an 'automated solution')
>
> thanks,
> 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: Thu, 22 Oct 2009 12:01:48 -0700
> > From: Vivek.Pandey@Sun.COM
> > To: users@glassfish.dev.java.net
> > CC: Anissa.Lam@Sun.COM
> > Subject: Re: Glassfish + Jruby
> >
> > [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.
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > >> For additional commands, e-mail: users-help@glassfish.dev.java.net
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > > For additional commands, e-mail: users-help@glassfish.dev.java.net
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
> ------------------------------------------------------------------------
> Windows 7: Simplify your PC. Learn more.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Martin Gainty

great
how does JRuby import ruby code?

thanks!
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: Thu, 22 Oct 2009 13:05:50 -0700
> From: Vivek.Pandey@Sun.COM
> To: users@glassfish.dev.java.net
> CC: Anissa.Lam@Sun.COM
> Subject: Re: Glassfish + Jruby
>
> Not sure what you mean by 'parse ruby to jruby'. JRuby is a Java based
> Ruby language interpreter. So any Ruby code can be executed using JRuby.
> Basically JRuby generates java bytecodes for the given Ruby script to
> run on JVM.
>
> -vivek.
>
> Martin Gainty wrote:
> > any ability to port an existing ruby codebase (via option 2)
> > so jruby (interpreter) can convert/parse ruby to 'jruby'?
> > (seeking an 'automated solution')
> >
> > thanks,
> > 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: Thu, 22 Oct 2009 12:01:48 -0700
> > > From: Vivek.Pandey@Sun.COM
> > > To: users@glassfish.dev.java.net
> > > CC: Anissa.Lam@Sun.COM
> > > Subject: Re: Glassfish + Jruby
> > >
> > > [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.
> > > >>
> > > >>
> > > >> ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > > >> For additional commands, e-mail: users-help@glassfish.dev.java.net
> > > >>
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > > > For additional commands, e-mail: users-help@glassfish.dev.java.net
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > > For additional commands, e-mail: users-help@glassfish.dev.java.net
> > >
> >
> > ------------------------------------------------------------------------
> > Windows 7: Simplify your PC. Learn more.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://www.microsoft.com/windows/pc-scout/default.aspx?CBID=wl&ocid=PID2...
[att1.html]

Vivek Pandey

Checkout jruby.org or post your questions to users@jruby.codehaus.org
for details on how JRuby is implemented and how it interprets Ruby code
in to JVM bytecodes.

-vivek.

Martin Gainty wrote:
> great
> how does JRuby import ruby code?
>
> thanks!
> 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: Thu, 22 Oct 2009 13:05:50 -0700
> > From: Vivek.Pandey@Sun.COM
> > To: users@glassfish.dev.java.net
> > CC: Anissa.Lam@Sun.COM
> > Subject: Re: Glassfish + Jruby
> >
> > Not sure what you mean by 'parse ruby to jruby'. JRuby is a Java based
> > Ruby language interpreter. So any Ruby code can be executed using
> JRuby.
> > Basically JRuby generates java bytecodes for the given Ruby script to
> > run on JVM.
> >
> > -vivek.
> >
> > Martin Gainty wrote:
> > > any ability to port an existing ruby codebase (via option 2)
> > > so jruby (interpreter) can convert/parse ruby to 'jruby'?
> > > (seeking an 'automated solution')
> > >
> > > thanks,
> > > 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: Thu, 22 Oct 2009 12:01:48 -0700
> > > > From: Vivek.Pandey@Sun.COM
> > > > To: users@glassfish.dev.java.net
> > > > CC: Anissa.Lam@Sun.COM
> > > > Subject: Re: Glassfish + Jruby
> > > >
> > > > [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.
> > > > >>
> > > > >>
> > > > >>
> ---------------------------------------------------------------------
> > > > >> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > > > >> For additional commands, e-mail:
> users-help@glassfish.dev.java.net
> > > > >>
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > > > > For additional commands, e-mail: users-help@glassfish.dev.java.net
> > > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > > > For additional commands, e-mail: users-help@glassfish.dev.java.net
> > > >
> > >
> > >
> ------------------------------------------------------------------------
> > > Windows 7: Simplify your PC. Learn more.
> > >
>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
> ------------------------------------------------------------------------
> New Windows 7: Find the right PC for you. Learn more.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Vivek Pandey

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Martin Gainty

Please correct if incorrect
but Ruby code is essentially CGI script so would you be implementing your .rb script via CGIServlet?

thanks,
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: Wed, 21 Oct 2009 16:10:54 -0700
> From: Vivek.Pandey@Sun.COM
> To: users@glassfish.dev.java.net
> Subject: Re: Glassfish + Jruby
>
> 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/
[att1.html]

Hassan Schroeder

On Wed, Oct 21, 2009 at 4:30 PM, Martin Gainty wrote:
> Please correct if incorrect
> but Ruby code is essentially CGI script so would you be implementing
> your .rb script via CGIServlet?

Incorrect. Wildly. So the answer is "no" :-)

Consulting Der Google for "jruby application deployment" or some
similar keywords will turn up lots of explanation...

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Martin Gainty

what is your ruby solution

Martin
______________________________________________
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: Wed, 21 Oct 2009 17:55:22 -0700
> From: hassan.schroeder@gmail.com
> To: users@glassfish.dev.java.net
> Subject: Re: Glassfish + Jruby
>
> On Wed, Oct 21, 2009 at 4:30 PM, Martin Gainty wrote:
> > Please correct if incorrect
> > but Ruby code is essentially CGI script so would you be implementing
> > your .rb script via CGIServlet?
>
> Incorrect. Wildly. So the answer is "no" :-)
>
> Consulting Der Google for "jruby application deployment" or some
> similar keywords will turn up lots of explanation...
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/
[att1.html]