Re: Tenant Login Issue in OFBiz 16.11

2017-10-03 Thread Arun Patidar
Hello Taher, Yes, it is possible to run domain/sub-domain on localhost by making changes in the file */etc/hosts* of Ubuntu environment. It requires putting the domain name in front of local IP 127.0.0.1. Also, there is a domain_name field in Tenant entity that can be used for specifying a domain

Re: Tenant Login Issue in OFBiz 16.11

2017-10-03 Thread Taher Alkhateeb
Hi Arun, So does that work for developers on localhost? Is it an acceptable compromise to ignore and close the JIRA? On Oct 3, 2017 3:36 PM, "Arun Patidar" wrote: > Hi Taher, > > Thanks for fixing the issue. The issue of multi-tenant logins in the same > browser can be achieved by using sub-dom

Re: Tenant Login Issue in OFBiz 16.11

2017-10-03 Thread Arun Patidar
Hi Taher, Thanks for fixing the issue. The issue of multi-tenant logins in the same browser can be achieved by using sub-domain in URL for each tenant. In this way, there will be a separate session and cookie management. -- Thanks & Regards --- Arun Patidar Manager, Enterprise Software Developme

Re: Tenant Login Issue in OFBiz 16.11

2017-09-29 Thread Jacques Le Roux
Le 29/09/2017 à 17:49, Taher Alkhateeb a écrit : Very happy to note that I finally cracked the puzzle on this bug. It's a simple case of readers=tenant that was missing in the build script. This bug was always there since the introduction of gradle. So I will fix it and backport to branch 16. You

Re: Tenant Login Issue in OFBiz 16.11

2017-09-29 Thread Taher Alkhateeb
Very happy to note that I finally cracked the puzzle on this bug. It's a simple case of readers=tenant that was missing in the build script. This bug was always there since the introduction of gradle. So I will fix it and backport to branch 16. You can check [1] for more. However, given that this

Re: Tenant Login Issue in OFBiz 16.11

2017-07-17 Thread vivek.mi
I did try. I created two tenants with: 1. *./gradlew createTenant -PtenantId=mytenant -PtenantName="My Name" -PdomainName=com.example -PtenantReaders=seed,seed-initial,ext -PdbPlatform=M -PdbIp=127.0.0.1 -PdbUser=mydbuser -PdbPassword=mydbpass* Tenant1: CAD Tenant 2: DDS 2. Used ./gradlew ofbiz

Re: Tenant Login Issue in OFBiz 16.11

2017-07-17 Thread Taher Alkhateeb
Ahhh, I'm not sure but I think this means you might be overwriting the tenant data. You need need to pass something like ./gradlew "ofbiz --load-data readers=seed --load-data delegator=default#tenant_id_here" Either way, if the JIRA is relevant then I suggest to continue the discussion over there.

Re: Tenant Login Issue in OFBiz 16.11

2017-07-17 Thread vivek.mi
Actually what is happening when i am stopping the application and using the command *./gradlew "ofbiz --load-data readers=seed"* then the other tenant login will be successful, but first one again is not able to and the process continues. - Vivek Mishra -- View this message in context: http

Re: Tenant Login Issue in OFBiz 16.11

2017-07-17 Thread vivek.mi
Thanks Taher for your reply. Yes we can go ahead with that. - Vivek Mishra -- View this message in context: http://ofbiz.135035.n4.nabble.com/Tenant-Login-Issue-in-OFBiz-16-11-tp4708208p4708217.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Tenant Login Issue in OFBiz 16.11

2017-07-17 Thread Taher Alkhateeb
I think this issue is related to [1]. I requested some tests but the user was busy, if you can help then perhaps we can resolve this issue [1] https://issues.apache.org/jira/browse/OFBIZ-9278 On Mon, Jul 17, 2017 at 12:19 PM, vivek.mi wrote: > Hello All, > > I have created two tenants in the app

Tenant Login Issue in OFBiz 16.11

2017-07-17 Thread vivek.mi
Hello All, I have created two tenants in the application. When i am logging in, the first tenant is logging in successfully, but second one throwing error. *Can't access entity of entityGroup = org.apache.ofbiz.tenant using tenant delegator default#DDS, use base delegator instead* 2017-07-17 15:0