Ingo, There were some recent changes committed regarding multi-tenancy functionality.
You might consider doing a quick test against branch 14.12 to narrow it down. Best regards, Pierre Smits *ORRTIZ.COM <http://www.orrtiz.com>* Services & Solutions for Cloud- Based Manufacturing, Professional Services and Retail & Trade http://www.orrtiz.com On Tue, Jan 20, 2015 at 8:32 AM, Ingo Wolfmayr <[email protected]> wrote: > Hi everybody, > > I would like to run multiple websites on a single instance using the > tenant functionality. > > In Ofbiz release 13.07 it was working by using virtual hosts: > > Root mount for virtual host: > > <webapp name="demo" > title="Demo" > server="default-server" > location="webapp/demo" > mount-point="/ " > app-bar-display="false"> > <virtual-host host-name="demo.com"/> > </webapp> > > As I want to reuse code/resources from other webapps I did the following: > for example framework/images > > This was necessary to make the images webapp available for all the webapps > that already used it: > <webapp name="images" > title="Images" > server="default-server" > location="webapp/images" > mount-point="/images" > app-bar-display="false"> > </webapp> > > This was necessary to make the images webapp available for the virtual > host: > <webapp name="images" > title="Images" > server="default-server" > location="webapp/images" > mount-point="/images" > app-bar-display="false"> > <virtual-host host-name="demo.com"/> > </webapp> > > I tried to migrate to the actual trunk but failed as the virtual host > logic seems to work different. As far as I understood (in 13.07), other > webapps where only available for a virtualhost if they had a matching > virtual host entry as well. > > Can someone please help me by telling me how this is done correct. > > Best regards, > Ingo >
