Complex provisioning on Tomcat