You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Joe Nicke (Jira)" <ji...@apache.org> on 2021/10/20 00:20:00 UTC

[jira] [Created] (OFBIZ-12342) createTenant / loadTenant fails

Joe Nicke created OFBIZ-12342:
---------------------------------

             Summary: createTenant / loadTenant fails
                 Key: OFBIZ-12342
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12342
             Project: OFBiz
          Issue Type: Bug
          Components: ALL APPLICATIONS
    Affects Versions: 17.12.08
         Environment: Azure Windows Server 2019, MySQL v8.0.25.0, Gradle v4.5.1, OFBiz v 17.12.08

4 CPU, 8gb RAM. 
            Reporter: Joe Nicke


I am looking for some guidance with multi-tenancy using Gradle (gradlew).

createTenant and loadTenant *fails* even when the ofbiz_tenant / ofbizolap_tenant are created in MySQL. 

When I preload the db's, the exact same gradlew arguments *succeed*.

gradlew loadTenant -PtenantId=tenant003

gradlew createTenant -PtenantId=tenant003 -PtenantName="My Name" -PdomainName=tenant002.ofbiz.opensaas.live.com -PtenantReaders=seed,seed-initial,ext -PdbPlatform=M

In the "succeed" workflow, the ofbiztenant tables are filled as expected. I am able to select and login with this tenant. It seems this would elimininate entity and other settings.

Why do I have to preload the db's with schemas?

Thanks!

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)