ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taher Alkhateeb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9278) Login after multitenant
Date Sat, 30 Sep 2017 07:37:00 GMT

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

Taher Alkhateeb commented on OFBIZ-9278:

Okay great news, so based on your confirmation I can be confident in saying the original problem
of not being able to create tenants correctly is solved. Now the "new" and probably "very
old" problem we are facing is that multiple logins to tenants from the same browser causes
problems. There are multiple suspects here like:
- Servlet session variables
- Cookies
- Login external key in OFBiz

Anyway, I will apply the patch soon and then leave the JIRA open while we figure out this
tenant session issue. Debugging activities that might help include:
- Open up the developer tools on the browser and check for cookies or session items
- Fire up the debugger on the IDE and trace the logic through the login screen after the second
tenant attempts to login. Most likely the issue will surface here.

> 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

View raw message