removing ServerResource and setting web.xml to use directly static resources with appserver. The deploy.sh script is OK with wagrant