An excellent resource for Tomcat configuration is the official documentation. The pages below have some specific Confluence-related configuration advice.

Another related resource is our guide to configuring Apache in front of Confluence, which includes instructions on configuring mod_jk with Tomcat.