I don't think it is possible out of the box. It looks to me you are looking for multi tenant system. If all the stores have single owner and there is no issue of mixing data, you may do this at Catalog level. You can create multiple catalogs and then map each catalog to a domain from Apache Web server. Of course, there will be no data partition among the stores. All stores will share the same back end catalog manager, customers, orders etc.

Thanks,

Raj

Hammad Afridi wrote:
So does that mean that I need to have separate front application for each store as youy are saying that I need separate web.xml ?? My requirements is to have a single ofbiz application running on tomcat with multiple stores in it. BUt each store should have a separate domain name and hence domain poitned to that store in the same application. Is this possible ? Hope you understandd my requirement.Thanks for your replies.






Regards,

Hammad Ali Khan Afridi
Mobile         0044 7534171187
MSN            [email protected]
Yahoo!        [email protected]

--- On Tue, 3/23/10, Raj Saini <[email protected]> wrote:


From: Raj Saini <[email protected]>
Subject: Re: Domain Name and Multiple Stores in ofbiz
To: [email protected]
Date: Tuesday, March 23, 2010, 4:43 PM


You cant have 1000's of store id in web.xml. Each web.xml will have just one 
site id. However, system can have 1000's of store depending on the hardware you 
are using.

Look for virtual hosts in Tomcat. In OFbiz, the file you will need to edit is 
${ofbiz.home}/framework/base/ofbiz-containers.xml.

Thanks,

Raj

Hammad Afridi wrote:
How can I do this in tomcat ??? Do you think it is a feasible solution to have 
thousands of stores id in the same web.xml? Does this affect performance  in 
any way having so many entries in the same web.xml.







Regards,

Hammad Ali Khan Afridi
Mobile 0044 7534171187
MSN            [email protected]
Yahoo!        [email protected]

--- On Tue, 3/23/10, Raj Saini <[email protected]> wrote:


From: Raj Saini <[email protected]>
Subject: Re: Domain Name and Multiple Stores in ofbiz
To: [email protected]
Date: Tuesday, March 23, 2010, 4:09 AM


Hi Hammad,

Yes it is possible to point different domain to each store. Stores are attached 
to websites. Website ID is configured in the web.xml of each website. 
Therefore, if you are going to have different website with different stores, 
you are going to multiple websites (similar to the demo e-commerce site).

You can map your domain to store either using Apache web server virtual hosting 
or Tomcat (Tomcat is embedded in OFBiz).

Thanks,

Raj

Hammad Afridi wrote:
HI All,
I was trying to understand the catalog manager and got to know that ofbiz can 
provides multiple stores.My question is that is it possible to point a 
different domain name to each of the store.If yes then what are the option to 
do it.Thanks.







Regards,

Hammad Ali Khan Afridi
Mobile 0044 7534171187
MSN            [email protected]
Yahoo!        [email protected]









Reply via email to