users@glassfish.java.net

Re: Running Multiple JRuby on Rails Applications using the Glassfish Gem

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Mon, 14 Apr 2008 14:35:23 -0700

Hi bhauff,

This is a known bug:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=3964

Your workaround seems to be correct. Please vote for this issue at
https://glassfish.dev.java.net/issues/showvotes.cgi?voteon=3964 to help
us prioritize.

-Arun

glassfish_at_javadesktop.org wrote:
> I was able hack two app to run at once:
>
> 1) Start one app using "jruby -S glassfish_rails appname"
> 2) Edit the domain.xml file to change the ports of http-listener-1, http-listener-2, and admin-listener to be one higher than the default
> 3) Start the second app "jruby -S glassfish_rails appname2"
>
> However, this seems difficult to automate for easy deployment. Is it possible to specify a domain.xml as a command line parameter to the "jruby -S glassfish_rails appname" command? Is there a better way to be attempting this altogether?
> [Message sent by forum member 'bhauff' (bhauff)]
>
> http://forums.java.net/jive/thread.jspa?messageID=269089
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

-- 
Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta