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

Taher Alkhateeb commented on OFBIZ-9278:
----------------------------------------

Hello Guillaume,

Okay, so the issue identified so far is that the login account does not work 
after creating the second tenant. Now just for clarity and future reference, 
the steps defined for creating a new tenant in createTenant task are the 
following
- define a new tenant in the master database
- create a new database for the tenant
- load the new database for the tenant
- load the admin user for that tenant

Now can you please specify what did and did not happen. Namely:
- Are the databases all created and defined for all tenants
- Is the information about the tenants available on the master database (Tenant 
Entity)?

Answering the above would get us a step closer by identifying whether the issue 
is with just the login account or a problem with the whole database setup.

> Login after multitenant
> -----------------------
>
>                 Key: OFBIZ-9278
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9278
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 16.11
>         Environment: linux mint 17.1, MySql 5.5.54
>            Reporter: Guillaume Fortin
>            Priority: Minor
>              Labels: multitenancy, multitenant
>
> I want to create two tenants named respectively e3 and psp. To create
> them, I use those command lines:
> ./gradlew createTenant -PtenantId=PSP -PtenantReaders=seed,seed-initial
> -PdbPlatform=M -PdbUser=XXXX -PdbPassword=XXXX
> ./gradlew createTenant -PtenantId=E3 -PtenantReaders=seed,seed-initial
> -PdbPlatform=M -PdbUser=XXXX -PdbPassword=XXXXX
> After creating the first tenant, I was able to connect with psp-admin
> user. After I created the second one, I was able to connect to the second
> database e3 with the e3-admin user but impossible to connect again on the
> PSP application.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to