Fix the issues on persistence.xml
Update to the final version of AGSec 1.2.1