users@glassfish.java.net

Re: jruby app in same VM?

From: Paul Blair <pblair_at_cyrusinnovation.com>
Date: Thu, 25 Mar 2010 12:34:54 -0400

One thing you might tray is to finagle something by running the Quartz job
scheduler within Glassfish. Here's a forum thread with more details:

http://forums.java.net/jive/thread.jspa?messageID=235708

On Wed, Mar 24, 2010 at 9:06 AM, Robert Weeks <RWeeks_at_ext-inc.com> wrote:

> Hello -
>
> Is there a way to get a separate jruby process to run in the same VM as the
> jruby container inside Glassfish? For example - if I need to start a jruby
> app after glassfish is up and running, I would like to attach it to the same
> VM that the current jruby apps inside of Glassfish are using.
>
>
> I never heard back if anyone knew if this was possible or not?
>
> For example - if we have to still utilize a poller (jruby -S
> script/jruby_poller) for JMS communications, I would rather it attach to the
> same jruby instance/vm that the main rails app is using under glassfish.
>
> Please let me know if anyone has been able to get this to work or if I am
> overlooking something that is obvious to enable it.
>
> Thanks a lot.
>
> --
> Robert B. Weeks
> rweeks_at_ext-inc.com
>
>
>
>
>


-- 
Paul Blair
pblair_at_cyrusinnovation.com
Cyrus Innovation LLC
200 Varick, Suite 902
New York, NY 10014
phone: (212) 647-7186
fax: (212) 591-6043
http://cyrusinnovation.com
~~~~~~~~~~~~~~~~~
Cyrus ranked #231 on the Inc 500 fastest growing companies:
http://www.marketwire.com/press-release/Cyrus-Innovation-Llc-1029552.html
~~~~~~~~~~~~~~~~~