Even without domain, Could you please try following steps too 1) Have a user login U1 for ofbiz normal data instance and U2 for tenant data instance. 2) Login with U2 in webtools by providing tenant id and logout (or remain there) 3) Now you can not login with U1. because now the application is pointing to tenant database. You will have to restart the ofbiz.
On Tue, Dec 24, 2013 at 6:02 PM, mohd Viqar <[email protected]> wrote: > We also faced this problem and the only solution we comeup with was to use > separate entityDelegatorName in web.xml of the relevant componet usually in > hot-deploy > <context-param> > <param-name>entityDelegatorName</param-name> > <param-value>abcComponent</param-value> > <description>The Name of the Entity Delegator to use, defined in > entityengine.xml</description> > </context-param> > > > and then add a definition of this delegator in entityengine.xml > > > <delegator name="abcComponent" entity-model-reader="main" > entity-group-reader="main" entity-eca-reader="main" > distributed-cache-clear-enabled="false"> > > > <group-map group-name="org.ofbiz" datasource-name="localpostnew"/> > <group-map group-name="org.ofbiz.olap" > datasource-name="localpostolap"/> > <group-map group-name="org.ofbiz.tenant" > datasource-name="localposttenant"/> > </delegator> > > > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Only-one-tenant-works-in-Multitenant-environment-tp4646505p4646520.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > -- Thanks, Deepak Agarwal, Paxcel Technologies Pvt Ltd. Hartron Complex, Sector 18, Gurgaon, India. E-Mail: [email protected] Mobile: +91 9501190044
