For information on Atlassian's recommendation on JIRA and Confluence installation, see Installing Confluence and JIRA Together.
You may also wish to read Integrating JIRA and Confluence for helpful information on integrating JIRA and Confluence.
There are also a number of practical reasons why we do not support deploying multiple Atlassian applications in a single Tomcat container. Firstly, you must shut down Tomcat to upgrade any application and secondly, if one application crashes, the other applications running in that Tomcat container will be inaccessible.
Finally, we recommend not deploying any other applications in the same Tomcat container that runs JIRA, especially if these other applications have large memory requirements or require additional libraries in Tomcat's lib subdirectory.