Adempiere Tip: Run multiple webui's

If you host adempiere for a number of customers, you might have decided to front end all of your adempiere servers with something like Apache, in order to centralise access and security. We use proxy_pass to connect these to backend adempiere servers with ajp. However, this can be problematic if you want to pass the same context to multiple backend servers as the remapping of contexts does not work well with apache.

Therefore, you may want to change to contexts in the relevant adempiere server. This can be done by editing the lib/adempiereAll.xml file in the source code and then rebuilding adempiere.

For example, you can change the /webui to something more appropriate such as "ad-dev3", and then proxy_pass this context from the same server as you pass other contexts.

This allows you to host multiple webui from ultiple servers via one apache cluster.