1. change db configuration
2. persistence.xml should under webapps and persisttence-unit comes before properties