OFBiz 16.11 multi tenant

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

OFBiz 16.11 multi tenant

Guillaume Fortin
Hi,

I need your help to create new tenants.
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.

I followed the documentation on Confluence but it is outdated.
https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support

Can you guide me to create those tenants correctly and help me figure
out how to do it.

Is it possible to load default data to the tenant  or I need to create
all things I need?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 16.11 multi tenant

taher
Hi,

I think you might have discovered a bug in the implementation. I suggest to
open a JIRA for this.

On Mar 23, 2017 4:45 PM, "Guillaume Fortin" <[hidden email]> wrote:

> Hi,
>
> I need your help to create new tenants.
> 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.
>
> I followed the documentation on Confluence but it is outdated.
> https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support
>
> Can you guide me to create those tenants correctly and help me figure out
> how to do it.
>
> Is it possible to load default data to the tenant  or I need to create all
> things I need?
>
> Thanks
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 16.11 multi tenant

Guillaume Fortin
Hi Taher,

i'm new with all of this. How do I create a JIRA?

GUILLAUME FORTIN B. Sc. M. Ing.
Chargé de projet
E-3 Solutions Web & Mobile
------------------------------------------------
[hidden email]
418 907.9602 #206  (Québec)
514 868.6563 #206  (Montréal)

On 17-03-23 10:24 AM, Taher Alkhateeb wrote:

> Hi,
>
> I think you might have discovered a bug in the implementation. I suggest to
> open a JIRA for this.
>
> On Mar 23, 2017 4:45 PM, "Guillaume Fortin" <[hidden email]> wrote:
>
>> Hi,
>>
>> I need your help to create new tenants.
>> 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.
>>
>> I followed the documentation on Confluence but it is outdated.
>> https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support
>>
>> Can you guide me to create those tenants correctly and help me figure out
>> how to do it.
>>
>> Is it possible to load default data to the tenant  or I need to create all
>> things I need?
>>
>> Thanks
>>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 16.11 multi tenant

Jacques Le Roux
Administrator
Hi Guillaume,

Good question: https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Thanks

Jacques


Le 23/03/2017 à 15:58, Guillaume Fortin a écrit :

> Hi Taher,
>
> i'm new with all of this. How do I create a JIRA?
>
> GUILLAUME FORTIN B. Sc. M. Ing.
> Chargé de projet
> E-3 Solutions Web & Mobile
> ------------------------------------------------
> [hidden email]
> 418 907.9602 #206  (Québec)
> 514 868.6563 #206  (Montréal)
>
> On 17-03-23 10:24 AM, Taher Alkhateeb wrote:
>> Hi,
>>
>> I think you might have discovered a bug in the implementation. I suggest to
>> open a JIRA for this.
>>
>> On Mar 23, 2017 4:45 PM, "Guillaume Fortin" <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> I need your help to create new tenants.
>>> 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.
>>>
>>> I followed the documentation on Confluence but it is outdated.
>>> https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support
>>>
>>> Can you guide me to create those tenants correctly and help me figure out
>>> how to do it.
>>>
>>> Is it possible to load default data to the tenant  or I need to create all
>>> things I need?
>>>
>>> Thanks
>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 16.11 multi tenant

Guillaume Fortin
JIRA created. Waiting for an answer. thanks

GUILLAUME FORTIN B. Sc. M. Ing.
Chargé de projet
E-3 Solutions Web & Mobile
------------------------------------------------
[hidden email]
418 907.9602 #206  (Québec)
514 868.6563 #206  (Montréal)

On 17-03-23 11:00 AM, Jacques Le Roux wrote:

> Hi Guillaume,
>
> Good question:
> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices
>
> Thanks
>
> Jacques
>
>
> Le 23/03/2017 à 15:58, Guillaume Fortin a écrit :
>> Hi Taher,
>>
>> i'm new with all of this. How do I create a JIRA?
>>
>> GUILLAUME FORTIN B. Sc. M. Ing.
>> Chargé de projet
>> E-3 Solutions Web & Mobile
>> ------------------------------------------------
>> [hidden email]
>> 418 907.9602 #206  (Québec)
>> 514 868.6563 #206  (Montréal)
>>
>> On 17-03-23 10:24 AM, Taher Alkhateeb wrote:
>>> Hi,
>>>
>>> I think you might have discovered a bug in the implementation. I
>>> suggest to
>>> open a JIRA for this.
>>>
>>> On Mar 23, 2017 4:45 PM, "Guillaume Fortin" <[hidden email]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I need your help to create new tenants.
>>>> 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.
>>>>
>>>> I followed the documentation on Confluence but it is outdated.
>>>> https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support
>>>>
>>>> Can you guide me to create those tenants correctly and help me
>>>> figure out
>>>> how to do it.
>>>>
>>>> Is it possible to load default data to the tenant  or I need to
>>>> create all
>>>> things I need?
>>>>
>>>> Thanks
>>>>
>>
>