ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Fortin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9278) Login after multitenant
Date Fri, 24 Mar 2017 13:29:41 GMT

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

Guillaume Fortin commented on OFBIZ-9278:
-----------------------------------------

1: I have changed from derby to mysql in delegator part

<delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main"
distributed-cache-clear-enabled="false">
        <group-map group-name="org.apache.ofbiz" datasource-name="localmysql"/>
        <group-map group-name="org.apache.ofbiz.olap" datasource-name="localmysqlolap"/>
        <group-map group-name="org.apache.ofbiz.tenant" datasource-name="localmysqltenant"/>
    </delegator>


2 : I put the mysql connector into framework/entity/lib/jdbc. I didn't know i can put it into
build.gradle. i'll do it.

3 : nothing

4 : for the first login on PSP, 
U ; psp-admin
P : ofbiz
instance : psp

for e3, replace psp by e3. 

> 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: Blocker
>              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)

Mime
View raw message