With grails each environment has its own configuration. As as example, see http://www.grails.org/Quick+Start and the section "Configure a Data Source (Optional)"

Jacques Le Roux wrote:
Yes, they could be convenient covers of the port offset parameter (dev=18443, prod=28443, run=38443) that's what I use here. Of course there are much possible combinations.

Jacques

From: "Christopher Snow" <[email protected]>
I like the grails approach of having multiple versions of configuration
elements. The configuration to use is specified when you run grails, e.g.

grails dev run-app
grails prod run-app
grails test run-app


Cheers,

Chris

Jacques Le Roux wrote:
I have always wanted to introduce a port offset parameter as it's
elegantly done in Geronimo. But  I never found the time (and I'm not
quite sure it's worth it)

Jacques

From: "Ruth Hoffman" <[email protected]>
Hi Chis:
3 separate instances. It is easier for me to keep track of things
that way. I know its a lot of extra and redundant data, but it works
for me.

Regards,
Ruth
----------------------------------------------------
Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz"
[email protected]

Christopher Snow wrote:
Hi Ruth,

Do you have three completely separate installations, or do you have one
installation with three different sets of configuration files?

Many thanks,

Chris

Ruth Hoffman wrote:

Yes. I run 3 or more at one time. One for production and several
others for testing. As Tim suggests, just make sure you don't have any network port conflicts. The Production Setup Guide should have all the
info you need:

http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide



Regards,
Ruth
----------------------------------------------------
Find me on the web at http://www.myofbiz.com or Google keyword
"myofbiz"
[email protected]

Tim Ruppert wrote:

Yes - for sure - we run well over 10 simultaneously.  You just need
to update your configuration files to be specific about ports and
domain names and you should be good to go.

Cheers,
Ruppert
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595

On Dec 11, 2009, at 12:36 PM, [email protected] wrote:



can I run two ofbiz instances on the same server?










--
Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP

Tel: 01453 890660
Mob: 07944 880950
Www: www.snowconsulting.co.uk





--
Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP

Tel: 01453 890660
Mob: 07944 880950
Www: www.snowconsulting.co.uk

Reply via email to