Re: Multitenancy issue OFBiz 16.11

2017-09-15 Thread vivek.mi
Thanks Deepak. Actually it's true and the tenant is not connected to that datasource anyway. If you see log below, when i am logging in from DDS tenant, delegator value is fine in LoginServices before userlogin method. But after that on runtime the value is changing to Humanres#CAD, which is the p

Re: Multitenancy issue OFBiz 16.11

2017-09-14 Thread Taher Alkhateeb
Folks if you can help it would be great, there might be a bug in the createTenant gradle task (not sure!). The JIRA is below [1] [1] https://issues.apache.org/jira/browse/OFBIZ-9278 On Sep 14, 2017 8:38 PM, "Deepak Dixit" wrote: > Hi Vivek, > > You can't access org.apache.ofbiz.tenant group fro

Re: Multitenancy issue OFBiz 16.11

2017-09-14 Thread Deepak Dixit
Hi Vivek, You can't access org.apache.ofbiz.tenant group from tenant. Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com www.hotwax.co On Thu, Sep 14, 2017 at 6:36 PM, Rishi Solanki wrote: > Vivek, > > Did not tried it myself, but you can try setting mentioned here in web.xml > and entitye

Re: Multitenancy issue OFBiz 16.11

2017-09-14 Thread Rishi Solanki
Vivek, Did not tried it myself, but you can try setting mentioned here in web.xml and entityengine.xml - https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support Your logs also says, to use correct delegator for the tenant group. Delegator "default#DDS" NOT initializing helper

Multitenancy issue OFBiz 16.11

2017-09-12 Thread vivek.mi
Hello All, I have created two tenants in the application.1. Tenant ID: CAD2. Tenant ID: DDSWhen i am logging in, the first tenant is logging in successfully, but second one is not successful. Can't access entity of entityGroup = org.apache.ofbiz.tenant using tenant delegator default#DDS, use base d