jboss7.1 : added a proper jboss-web.xml
jboss-7.1 : fixed namespace and EL-expression in page view-ids.
jboss-7.1 : fixed SQL statements by removing DISTINCT keyword