Deploying Sonar to JBoss AS7
Sonar does not officially support the JBoss AS7 application server / servlet container (or any JBoss version). By default, JBoss's JPA modules notice the
persistence.xml file in sonar-core-2.13.1.jar!/META-INF/persistence.xml and attempt to setup JPA (Hibernate). This fails (because Sonar isn't expecting JBoss to be doing anything in the way of setting up Hibernate). One solution is to remove the JPA module from JBoss.
