You will have to change the datasource names. Are you mapping the url's "www.myerp.com" and others to ofbiz specific urls' of https://x.y.z.m:PPPP/app/control/main ?
The case you are trying out is perfectly possible. On Wed, Feb 27, 2008 at 12:54 AM, Mark Ellul <[EMAIL PROTECTED]> wrote: > Hi, > > I was just wondering if anyone can think of a way I could change the > datasource on a user per user basis... > > Basically what I am trying to do is this... When User A goes to > www.myerp.com they go to my ofbiz instance running on my server... but > based > on the url they are going to, their datasource is set to the myerp > database. > > When user B goes to www.yourerp.com they go to the same ofbiz instance > running on my server with the same code base but based on the URL their > datasource is the yourerp database... > > My aim is to have one tomcat and one code base service many URLs each with > their own database, hopefully not having to change the datasource in each > service. > > Sorry if I am not making myself clear... > > Any thoughts would be appreciated > > Regards > > Mark >
