Fixes for war packaging and relocatable web root