[
https://issues.apache.org/jira/browse/OFBIZ-12342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434966#comment-17434966
]
Joe Nicke commented on OFBIZ-12342:
-----------------------------------
.... next steps:
I load ofbiz_greenstar and ofbizolap_greenstar with demo data from a dump
(manually)
gradlew createTenant -PtenantId=greenstar -PtenantName="GreenStar Inc"
-PdomainName=greenstar.ofbiz.opensaas.live.com
-PtenantReaders=seed,seed-initial,ext -PdbPlatform=M
Success!
We are automating the provisining of OFBiz tenants. It is time consuming if we
have to load the databases twice.
I have tried gradlew loadTenant -PtenantId=greenstar : Same failure.
> 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)