Posted by
Andrew Sykes on
Aug 31, 2005; 10:47am
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-Multiple-Companies-tp135739p135741.html
Rohit,
Sorry, I missed the other part of your question, I believe I've answered
this in my mail to Matt, but just for clarity.
I didn't need different dispatchers due to the generic nature of the
applications.
I didn't use the 'catalog' or 'order' applications in this instance,
although it is possible to create multiple copies of both of these e.g.
In /ofbiz/applications/order/webapp copy ordermgr to ordermgr2 then
change the entityDelegator value in web.xml
You will have to mount the ordermgr2 in /ofbiz/applications/order/ofbiz-
component.xml (just copy the block for ordermgr and modify as necessary)
Now assuming you have correctly defined a second delegator in
entityengine.xml you should be able to go to the mount point you defined
in ofbiz-component.xml and see ordermgr2.
In the example above the two applications are not only connected to
different Database/Schemas, they can even connect to two entirely
different database servers.
Finally, you asked if we used the default self contained OfBiz, the
answer is yes, and the example above will work with a self contained
OfBiz.
I hope this helps you :-)
Let me know how you get on.
--
Andrew Sykes <
[hidden email]>
Sykes Development Ltd
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users