[
https://issues.apache.org/jira/browse/OFBIZ-9278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185926#comment-16185926 ]
Vivek Mishra commented on OFBIZ-9278:
-------------------------------------
Yup. It's something related to Dispatcher class i think (not sure). Because in case of second tenant login the value of delegator changes at runtime. Hence it is trying to search the userlogin in first tenant only, which is not present there.
> 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
> Attachments: 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)