add support for custom server.xml template