Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C80BD18090 for ; Tue, 10 Nov 2015 22:01:46 +0000 (UTC) Received: (qmail 38799 invoked by uid 500); 10 Nov 2015 22:01:46 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 38767 invoked by uid 500); 10 Nov 2015 22:01:46 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 38754 invoked by uid 99); 10 Nov 2015 22:01:45 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2015 22:01:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 40EA11A0C79 for ; Tue, 10 Nov 2015 22:01:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.889 X-Spam-Level: ** X-Spam-Status: No, score=2.889 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 7zFndjF6bXfb for ; Tue, 10 Nov 2015 22:01:40 +0000 (UTC) Received: from nm26-vm3.bullet.mail.ir2.yahoo.com (nm26-vm3.bullet.mail.ir2.yahoo.com [212.82.97.45]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 59BAB44520 for ; Tue, 10 Nov 2015 22:01:40 +0000 (UTC) Received: from [212.82.98.54] by nm26.bullet.mail.ir2.yahoo.com with NNFMP; 10 Nov 2015 22:01:33 -0000 Received: from [212.82.98.78] by tm7.bullet.mail.ir2.yahoo.com with NNFMP; 10 Nov 2015 22:01:33 -0000 Received: from [127.0.0.1] by omp1015.mail.ir2.yahoo.com with NNFMP; 10 Nov 2015 22:01:33 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 608553.62269.bm@omp1015.mail.ir2.yahoo.com X-YMail-OSG: xA4u5acVM1l4KULf6I1VLDZxfnX2UYm7Bye2d0ZGyd372jSBGAJcKtfJaTn6aQe 2WDCbzUbipCVYwkm31yERSjT5GmKFksjx8usqi1rrNtVGOBNhGr8FCpp8wcRDxQjQRURxxk_2olu VYbGX2je5Vd9pcIbwTe8j.hfaDg1tfZVsNufIMthGF7Znj3ofQegNsbjpppXJ_3S74Ze0BOJYhEg iV4SF5lbvPn1GYjqGTJCOOof7B8qyveD8i8muSk0wcmdYWW83QJXjht3RYmJXziJK5.4FBpiiFyG m.BsV2e8kCFoyzWP8iOB1ZcT6EiE6glCroEqGzSoowqvr3gSF5anw1h29HN0C.rTxuGMbgjqrEeC mAiOszajQvCLdScvtxtJfXA0YJ2dRfXWpa_cR5S0oQJTd.WUasc8RvKVSWtihSlHNLvTdnM1CUTq ztJeom_QJEAg3S_V23H2yH4.jRSIIAQAzpjCMMgvGr8LSP8qYjzGvW5Yp.eJR7Vga_memhYC99Jp OOz8oHupdOA-- Received: by 217.12.8.245; Tue, 10 Nov 2015 22:01:33 +0000 Date: Tue, 10 Nov 2015 22:01:32 +0000 (UTC) From: Hammad Afridi Reply-To: Hammad Afridi To: "user@ofbiz.apache.org" Message-ID: <1682272298.4651076.1447192892751.JavaMail.yahoo@mail.yahoo.com> Subject: Automating multitenancy support MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4651075_653422298.1447192892746" References: <1682272298.4651076.1447192892751.JavaMail.yahoo.ref@mail.yahoo.com> ------=_Part_4651075_653422298.1447192892746 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello everyone,I have been looking into the multitenancy support in ofbiz. = It seems the architecture is based on having a separate database for each t= enant rather than using one single db with differentiating tenant data base= d on 'tenantId'. There are some configuration steps as set in the following url to enable mu= ltitenancy : https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support#Mult= itenancysupport-Settingtheecommerceapp.touseanspecificTenantDatabase And it seems it is all manual to add a new tenant. My question here is, is = there any way to add multiple tenant in an automated way? So that whenever = a new tenant signup for a new account we can do it dynamically from the web= site? Please suggest. Thanks.=C2=A0 Regards, Hammad Ali Khan Afridi Skype=C2=A0 =C2=A0 =C2=A0 hammad.afridi =20 ------=_Part_4651075_653422298.1447192892746--