users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Mon, 14 Apr 2008 10:09:29 PDT

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