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.

Reply via email to