add support for multi-warred java application