Make sure that servlet caching is enabled by checking the checkbox next to “Enable servlet caching” by following these links in the console:
Application Servers>server1>Web Container>Configuration: Servlet caching