Weird uses constraints violation in JBoss AS 7.2