On Mar 25, 2010, at 9:55 AM, Erwan de FERRIERES wrote:

> Le 24/03/2010 09:07, David E Jones a écrit :
>> 
>> I'm working on getting the multitenant branch updated with all of the trunk 
>> changes, and I'd rather not have to do this too many times... :)
>> 
>> After a fair amount of testing everything seems to be working fine with the 
>> multitenant changes (and the automated tests all pass now too).
>> 
>> Is anyone opposed to getting the multitenant branch merged back into the 
>> trunk?
>> 
>> -David
>> 
>> 
> David,
> 
> do we have a wiki page to explain how to use multi-tenant ?

AFAIK the answer is no, we don't.

There are comments in the tenant demo data file. The general process to set it 
up would look something like:

===========================================
$ svn co https://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
$ ant
$ java -Xmx512m -XX:MaxPermSize=128m -jar ofbiz.jar -install -readers=seed 
-delegator=default
$ java -Xmx512m -XX:MaxPermSize=128m -jar ofbiz.jar -install -readers=seed 
-delegator=default#DEMO1
$ java -Xmx512m -XX:MaxPermSize=128m -jar ofbiz.jar -install -readers=seed 
-delegator=default#DEMO2
$ ant run
===========================================

Note that the long java lines instead of something like "ant run-install" are 
used in order to be able to specify a delegatorName.

-David

Reply via email to