[jira] [Commented] (OFBIZ-9278) Login after multitenant

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9278) Login after multitenant

Nicolas Malin (Jira)

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

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

Let's try not to fall into the same trap.

Are you 100% sure you are logged in to the correct database? The way to verify is by checking the delegator name in the webtools component (top right corner). Make sure you're logged in to it. Make sure you can login and logout and re-login without problems. THEN create the second tenant.

If the problem persists, please check the tenants defined in the tenant database "ofbiztenant" not "ofbiz". Can you confirm both database entries exist in it? Next, can you check that the database ofbiz_first exists? Next, can you check that the database ofbiz_second exists?

I know it's a laborious process, but that the only way to eliminate everything and be absolutely sure of the root cause. Thank you in advance for your help.

> 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
>            Assignee: Taher Alkhateeb
>            Priority: Minor
>              Labels: multitenancy, multitenant
>         Attachments: OFBIZ-9278.patch, OFBIZ-9278.patch
>
>
> 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.4.14#64029)