Remove JasperListener from server.xml if base_version is less than 8.
Remove JasperListener from server.xml if base_version is less than 8.

JasperListener has been removed in Tomcat8 (see links to log below). Trying to use it in
server.xml causes Tomcat not to start.

from Tomcat 8.0.0 changelog:
>Initialize the JSP runtime in Jasper's initializer to avoid need for a Jasper-specific
>lifecycle listener. JasperListener has been removed. (jboynes)
https://tomcat.apache.org/tomcat-8.0-doc/changelog.html

bitmonk/chef-tomcat,wvega/tomcat,bitmonk/chef-tomcat,joshburt/tomcat,Lianping/tomcat,chef-cookbooks/tomcat,GannettDigital/chef-tomcat,jolcese/tomcat,benetech-cookbooks/tomcat,benetech-cookbooks/tomcat,wvega/tomcat,chef-cookbooks/tomcat,GannettDigital/chef-tomcat,nickptrvc/tomcat,joshburt/tomcat,GannettDigital/chef-tomcat,ankushgupta/tomcat,yakara-ltd/tomcat,chef-cookbooks/tomcat,nickptrvc/tomcat,opscode-cookbooks/tomcat,joshburt/tomcat,opscode-cookbooks/tomcat,bitmonk/chef-tomcat,Lianping/tomcat,wvega/tomcat,nickptrvc/tomcat,ankushgupta/tomcat,opscode-cookbooks/tomcat,ankushgupta/tomcat,yakara-ltd/tomcat,benetech-cookbooks/tomcat,yakara-ltd/tomcat,Lianping/tomcat,jolcese/tomcat,jolcese/tomcat