I have an jsf application (mojarra 2.1.8, primefaces 3.3) running on tomcat 6. While analyzing the page in firebug with google page-speed, I realized I could optimize some s
Your server.xml
is all fine. Your concrete problem is most likely that you've edited the wrong server.xml
file. In an IDE like Eclipse, the original Tomcat server installation is by default kept untouched. Instead, Eclipse creates a copy of all its configuration files in the Servers project and uses the workspace metadata to deploy the webapps and ultimately only the Tomcat server engine is been used from the Tomcat installation.
Make sure that you're editing the right server.xml
file, the one in Servers project:
Tomcat's own /conf/server.xml
file is only used when you start it outside Eclipse, or when you tell Eclipse to take full control over Tomcat installation instead. To do that,
doubleclick the Tomcat server entry in Servers view and alter the Server Locations accordingly.