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

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

    [ https://issues.apache.org/jira/browse/OFBIZ-12342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434735#comment-17434735 ] 

Jacques Le Roux commented on OFBIZ-12342:
-----------------------------------------

Hi Joe,

What do you mean exactly by
bq. When I preload the db's,
?

> 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
>            Priority: Minor
>
> 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)