Fix demo to work based on similar changes to jboss 7 war