ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonatan Soto <seniledemen...@gmail.com>
Subject Re: Multitenant question
Date Mon, 26 Jul 2010 09:20:19 GMT
Thanks a lot David!

On Mon, Jul 26, 2010 at 11:15 AM, David-DiSiD Technologies <
dcervera@disid.com> wrote:

>
> 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.
>



-- 
-----

Jonatan Soto

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message