You can determine the tenant used in the ecomm. app. setting the paramenter entityDelegatorName in the web.xml file of the web application, for example:
> ... > <context-param> > <param-name>entityDelegatorName</param-name> > <param-value>default#tenantId</param-value> > <description>The Name of the Entity Delegator to use, defined in > entityengine.xml</description> > </context-param> > ... > where tenantId is the Tenant ID of your ecomm. app. If you are using the default delegator and "No store been defined...", it means that you haven't loaded/created the store data in the default database. You can load the demo data (that creates an store) doing this: > $OFBIZ_HOME> java -Xmx512m -XX:MaxPermSize=128m -jar ofbiz.jar -install > -readers=seed,demo > And you can load the demo data into your tenant DDBB doing this: > $OFBIZ_HOME> java -Xmx512m -XX:MaxPermSize=128m -jar ofbiz.jar -install > -readers=seed,demo -delegator=default#tenantId > Cheers, ----- David Cervera - dcervera at disid dot com DiSiD Technologies, S.L. - http://www.disid.com -- View this message in context: http://ofbiz.135035.n4.nabble.com/Multitenant-question-tp2302056p2302074.html Sent from the OFBiz - User mailing list archive at Nabble.com.
