users@glassfish.java.net

Re: jruby app in same VM?

From: Robert Weeks <RWeeks_at_ext-inc.com>
Date: Thu, 25 Mar 2010 11:40:10 -0700

Thank you very much for the pointer - I will look into this and report back!


On Mar 25, 2010, at 12:34 PM, Paul Blair wrote:

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<mailto: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.

--
--
Paul Blair
pblair_at_cyrusinnovation.com<mailto: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
--
Robert B. Weeks
rweeks_at_ext-inc.com<mailto:rweeks_at_ext-inc.com>