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
