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 5117118173 for ; Tue, 29 Sep 2015 22:49:13 +0000 (UTC) Received: (qmail 66471 invoked by uid 500); 29 Sep 2015 22:49:12 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 66440 invoked by uid 500); 29 Sep 2015 22:49:12 -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 66427 invoked by uid 99); 29 Sep 2015 22:49:12 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2015 22:49:12 +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 0CD0C1A342F for ; Tue, 29 Sep 2015 22:49:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.213 X-Spam-Level: **** X-Spam-Status: No, score=4.213 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id S60k2qpKV6_z for ; Tue, 29 Sep 2015 22:49:03 +0000 (UTC) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 4D47820864 for ; Tue, 29 Sep 2015 22:49:03 +0000 (UTC) Received: by labzv5 with SMTP id zv5so26144959lab.1 for ; Tue, 29 Sep 2015 15:49:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=m2Gw7a2k/jMUWo+wrfd7Jv2lOMfKd3GS6XB20Li8b0Y=; b=ftqQAx1QiwN0B7kGNd4U2GxOMM+rd3TyDfG1tfVlMnMa573s2pgudm32/X9uP+mQyZ 8vGS+nGJtjijKYtDIWLY5Sao9QMKv4cbVCG9QbzV9DLLpi5ZQ5Oxvu0Onuo1GDXpi+Vp IN0oI0RVcslxnB9LMRU58/pdtQLOn63iMf1/WWhe/Rl8vlSlEC419uP/+iCEEVxZWDlQ /WavHE/TJ5xg/Dr3615EIPx0Wy6u/ajQlFpVEJFYTyLAXg31PN0Y5exHxdGl3y5H5y+q FAfmHjGdOWl1aU36l1IZ/v11cAU1trsbUjvT5ih/g/s3xzz0JoFTOP2rpa8cHjuJ3IBR fIwQ== MIME-Version: 1.0 X-Received: by 10.112.55.99 with SMTP id r3mr133903lbp.64.1443566941570; Tue, 29 Sep 2015 15:49:01 -0700 (PDT) Received: by 10.25.213.77 with HTTP; Tue, 29 Sep 2015 15:49:01 -0700 (PDT) In-Reply-To: <1443513251050-4672845.post@n4.nabble.com> References: <1443513251050-4672845.post@n4.nabble.com> Date: Wed, 30 Sep 2015 00:49:01 +0200 Message-ID: Subject: Multi Tenant From: Pierre Smits To: "user@ofbiz.apache.org" Content-Type: multipart/alternative; boundary=001a11c3e73ac30a660520ea9e91 --001a11c3e73ac30a660520ea9e91 Content-Type: text/plain; charset=UTF-8 Hi Stefan, The entities to look for are: - Tenant - TenantDataSource The entities are available for the 'default' delegator, they cannot be accessed when logging in at tenant level. The most important elements of the first entity are the id of the tenant (which is also used to define the delegator) and the disabled field. If the last one is set to true (Y), the engine won't use the tenant delegator and users can't access the tenant environment. The second entity maps the tenantId to the rdbms to ensure that the data entered in the tenant environment (the tenant delegator, e.g. default# will be persisted in the tenant database(s) - ofbiz_ or ofbizolap_. Best regards, Pierre Smits *OFBiz Extensions Marketplace* http://oem.ofbizci.net On Tue, Sep 29, 2015 at 9:54 AM, Stefan Badenhorst < stefan.badenhorst@mi-c3.com > wrote: > Thanks, Pierre. > > Please let me know what log file you are interested in. > I also would like to verify where the process failed. > Can you give me some directions on what tables and databases I could look > at > to see if data was loaded correctly? > > > > > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Multi-Tenant-tp4672725p4672845.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > -- Pierre Smits *OFBiz Extensions Marketplace* http://oem.ofbizci.net --001a11c3e73ac30a660520ea9e91--