{"id":97300,"date":"2022-05-27T14:31:04","date_gmt":"2022-05-27T18:31:04","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=97300"},"modified":"2024-06-03T14:27:20","modified_gmt":"2024-06-03T18:27:20","slug":"apache-tomcat-cwp","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/","title":{"rendered":"How to Install Apache Tomcat on Control Web Panel (CWP)"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat-1024x538.jpg\" alt=\"Install Apache Tomcat in Control Web Panel - Java Deployment\" class=\"wp-image-97291\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>Apache Tomcat is a web server environment for running programs written in the Java programming language. It can serve dynamically generated sites with Servlet and JSP. Tomcat is one of the most popular choices for Java application server deployments. Below we\u2019ll cover how to manage Tomcat on Control Web Panel (CWP).<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#install\">Install Tomcat on CWP<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#users\">Tomcat in User Panels<\/a><\/li>\n\n\n\n<li><a href=\"#harden\">Harden Apache Tomcat Server Security<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#apps\">Access Tomcat Applications<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#deploy\">Deploy a Tomcat Application<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install\">Install Tomcat on CWP<\/h2>\n\n\n\n<p>Follow these steps to install Apache Tomcat.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/install-control-web-panel-cwp\/#login\">Log into CWP<\/a> as an administrator.<\/li>\n\n\n\n<li>On the left, search for and select <strong>Tomcat Manager<\/strong>.<\/li>\n\n\n\n<li>Select a Tomcat version to install from the dropdown menu, then <strong>Install now<\/strong>. Select <strong>Continue<\/strong> in the pop-up window. This will also install the CWP Tomcat engine.<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"422\" height=\"228\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-install-tomcat.png\" alt=\"Install Control Web Panel (CWP) Tomcat server and manager\" class=\"wp-image-97288\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-install-tomcat.png 422w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-install-tomcat-300x162.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>Upon refresh, you\u2019ll see the Tomcat server status, port number, and version number. To the right, you\u2019ll see that OpenJDK was installed. This is the open-source Java installation with Font Renderer and the latest features. For another OpenJDK version or the proprietary Oracle JRE\/JDK, follow our guide on how to <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/vps-hosting\/install-java-on-centos\/\">install Java on CentOS<\/a>.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"149\" class=\"wp-image-97286\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-1024x149.png\" alt=\"Control Web Panel (CWP) Tomcat Manager\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-1024x149.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-300x44.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-768x112.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-1536x224.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager.png 1610w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>You should now be able to type \u201cyouservername:8080\u201d into your web browser and view the Apache Tomcat default page. If not, ensure that port 8080 is open in your <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/install-control-web-panel-cwp\/#csf\">CWP server firewall<\/a> and try again.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"978\" height=\"830\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/apache-tomcat-10-0-16-success.png\" alt=\"Apache Tomcat 10.0.16\" class=\"wp-image-97284\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/apache-tomcat-10-0-16-success.png 978w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/apache-tomcat-10-0-16-success-300x255.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/apache-tomcat-10-0-16-success-768x652.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"users\">Tomcat in User Panels<\/h3>\n\n\n\n<p>If you want to allow regular users to manage Tomcat apps:\u00a0<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Select the <strong>Configurations<\/strong> tab at the top of the Tomcat management section.\u00a0<\/li>\n\n\n\n<li>Check the box for <strong>Tomcat server available in user panel<\/strong>. You can enable access for all accounts or specific ones. <figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"585\" height=\"286\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-user-panels.png\" alt=\"Enable Tomcat for CWP user panels\" class=\"wp-image-97287\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-user-panels.png 585w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-manager-user-panels-300x147.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>Once you\u2019ve made your decision, select <strong>Save user panel options<\/strong>. Now, CWP ends users can access Tomcat apps from <strong>Domains<\/strong> &gt; <strong>Tomcat Manager<\/strong>. Users currently logged in may need to refresh their browser page to see the new section.<\/li>\n<\/ol>\n\n\n\n<p class=\"alert alert-warning\">During our testing, Tomcat Manager did not display in user panels. If you experience similar issues, contact the CWP team directly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"harden\">Harden Apache Tomcat Server Security<\/h3>\n\n\n\n<p>On the default Apache Tomcat version 10.0.16 page, you\u2019ll see an important notice:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>\u201cFor security, access to the manager webapp is restricted. Users are defined in: $CATALINA_HOME\/conf\/tomcat-users.xml\u201d<\/em><\/p>\n<\/blockquote>\n\n\n\n<p>You can edit this file in the CWP terminal or Tomcat Manager.\u00a0<\/p>\n\n\n\n<p class=\"alert alert-warning\">Due to an unknown error, we could not use the Tomcat Manager to make these changes quickly. We will cover how to attempt this method on your CWP server and bypass the issue if required.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In CWP Tomcat Manager, click on the <strong>Configuration<\/strong> tab.<\/li>\n\n\n\n<li>Under \u201cTomCat server configuration files,\u201d select <strong>tomcat-users.xml<\/strong> from the drop-down menu. The XML file will load at the bottom of the page.<\/li>\n\n\n\n<li>Without making any changes, select <strong>Save file<\/strong>. If a notification in the upper-right corner states \u201cSuccess,\u201d this means you\u2019re able to edit the file in the graphical interface. Continue to step 4.<br><br>If an error shows in the upper-right corner stating \u201cInvalid configuration file,\u201d you\u2019ll need to make changes from the terminal emulator. Note the file path to your tomcat-users.xml file. It should resemble \u201c\/usr\/local\/tomcat\/tomcat10\/conf\/tomcat-users.xml.\u201d\u00a0<br><br>At the top, select <strong>Terminal<\/strong> &gt; <strong>Simple Terminal<\/strong>. Or you can log into your CWP server via SSH.<br><br>Edit the file with a text editor: <pre>nano\u00a0 \/usr\/local\/tomcat\/tomcat10\/conf\/tomcat-users.xml<\/pre><\/li>\n\n\n\n<li>On or near line 36 you\u2019ll see two \u201cuser username\u201d lines encapsulated between two comment lines (\u201c&lt;!\u2013\u201d and \u201c\u2013&gt;\u201d):<br><code>&lt;!--<br>&lt;user username=\"admin\" password=\"&lt;must-be-changed&gt;\" roles=\"manager-gui\"\/&gt;<br>&lt;user username=\"robot\" password=\"&lt;must-be-changed&gt;\" roles=\"manager-script\"\/&gt;<br>--&gt;<\/code><br>Remove the comment lines.<\/li>\n\n\n\n<li>Add \u201cadmin-gui\u201d to the admin line as shown below, and update the passwords (and \u201cadmin\u201d username to something else if desired).<pre>&lt;user username=\"admin\" password=\"StrongPasswrd1\" roles=\"manager-gui,admin-gui\"\/&gt;<br>&lt;user username=\"robot\" password=\"StrongPasswrd2\" roles=\"manager-script\"\/&gt;<\/pre><\/li>\n\n\n\n<li>Add more users to the Tomcat configuration file if necessary, using the same format. You may notice a \u201ctomcat_cwpuser\u201d at the bottom of the file. This is used by CWP to integrate Tomcat with CWP.<\/li>\n\n\n\n<li>If editing the file in Tomcat Manager, select <strong>Save file &amp; reload server<\/strong> at the top. If editing the file in the terminal, save changes. Then return to the CWP Tomcat Manager dashboard tab and select <strong>Restart server<\/strong>.<\/li>\n\n\n\n<li>You should now be able to log into your Tomcat hosting panel with your new admin credentials at \u201cyourserverhostname:8080\/host-manager.\u201d<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"506\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-virtual-host-manager-1024x506.png\" alt=\"Apache Tomcat Virtual Host Manager\" class=\"wp-image-97285\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-virtual-host-manager-1024x506.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-virtual-host-manager-300x148.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-virtual-host-manager-768x380.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-virtual-host-manager-1536x760.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-virtual-host-manager.png 1860w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"apps\">Access Tomcat Applications\u00a0<\/h2>\n\n\n\n<p>The Applications tab is where you can deploy and manage Tomcat applications. Installed with the Tomcat server are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Servlet and JSP Examples (\/examples)<\/li>\n\n\n\n<li>Tomcat Documentation (\/docs)<\/li>\n\n\n\n<li>Tomcat Host Manager Application (\/host-manager)<\/li>\n\n\n\n<li>Tomcat Manager Application (\/manager)<\/li>\n\n\n\n<li>Welcome to Tomcat (\/)<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"298\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list-1024x298.png\" alt=\"Tomcat applications in Control Web Panel (CWP)\" class=\"wp-image-97297\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list-1024x298.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list-300x87.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list-768x224.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list-1536x448.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list.png 1609w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>The table shows applications\u2019 file path, assigned user, status, and number of sessions running. The action buttons allow you to edit, stop, reload, delete, and expire sessions for an app.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"deploy\">Deploy a Tomcat Application<\/h3>\n\n\n\n<p>Follow these steps to deploy Tomcat applications as an admin user.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the \u201cApplications\u201d tab, select <strong>Deploy application <\/strong>at the top.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"298\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list-1024x298.png\" alt=\"Tomcat applications in Control Web Panel (CWP)\" class=\"wp-image-97297\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list-1024x298.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list-300x87.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list-768x224.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list-1536x448.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-applications-list.png 1609w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>Assign a CWP user. <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/add-cwp-user\/\">Add a user<\/a> if necessary.<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"536\" height=\"430\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-deploy-application.png\" alt=\"Add Tomcat application in Control Web Panel (CWP)\" class=\"wp-image-97298\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-deploy-application.png 536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-tomcat-deploy-application-300x241.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>Select a <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/add-domains-cwp\/\">domain or subdomain<\/a>.<\/li>\n\n\n\n<li>Specify a context path.<\/li>\n\n\n\n<li>Select a deployment from the drop-down list (WAR file, XML configuration file, or directory).<\/li>\n\n\n\n<li>Select the necessary file or directory.<\/li>\n\n\n\n<li>Select <strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>Learn about more ways to manage your <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/\">Control Web Panel server<\/a>.<\/p>\n\n\n<div class=\"jumbotron\" style=\"text-align:center;\">\r\n<p style=\"font-size: 20px;\"><strong>Scalable VPS Infrastructure, Fully Managed<\/strong><\/p>\r\n<p>When shared hosting can't handle your traffic, VPS delivers dedicated resources that scale with demand. Our team manages the technical complexity while you manage your business.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>NVMe Storage &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>High-Availability &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Ironclad Security &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Premium Support<\/p>\r\n<p><a class=\"btn btn-primary btn-lg\" href=\"https:\/\/www.inmotionhosting.com\/vps-hosting?mktgp=t&irgwc=1&affiliates=5001860&utm_campaign=Jumbotron&utm_source=supportcenter&utm_medium=cta&utm_term=vps-cta2\">VPS Hosting<\/a><\/p>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Apache Tomcat is a web server environment for running programs written in the Java programming language. It can serve dynamically generated sites with Servlet and JSP. Tomcat is one of the most popular choices for Java application server deployments. Below we\u2019ll cover how to manage Tomcat on Control Web Panel (CWP). Install Tomcat on CWP<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":97291,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4594],"tags":[],"class_list":["post-97300","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-software"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Apache Tomcat on Control Web Panel (CWP) | InMotion Hosting<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Apache Tomcat on Control Web Panel (CWP) | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Apache Tomcat is a web server environment for running programs written in the Java programming language. It can serve dynamically generated sites with Servlet and JSP. Tomcat is one of the most popular choices for Java application server deployments. Below we\u2019ll cover how to manage Tomcat on Control Web Panel (CWP). Install Tomcat on CWP Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-27T18:31:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-03T18:27:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Install Apache Tomcat on Control Web Panel (CWP)\",\"datePublished\":\"2022-05-27T18:31:04+00:00\",\"dateModified\":\"2024-06-03T18:27:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/\"},\"wordCount\":843,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg\",\"articleSection\":[\"Server Software\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/\",\"name\":\"How to Install Apache Tomcat on Control Web Panel (CWP) | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg\",\"datePublished\":\"2022-05-27T18:31:04+00:00\",\"dateModified\":\"2024-06-03T18:27:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Install Apache Tomcat in Control Web Panel - Java Deployment\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Apache Tomcat on Control Web Panel (CWP)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Apache Tomcat on Control Web Panel (CWP) | InMotion Hosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Apache Tomcat on Control Web Panel (CWP) | InMotion Hosting","og_description":"Apache Tomcat is a web server environment for running programs written in the Java programming language. It can serve dynamically generated sites with Servlet and JSP. Tomcat is one of the most popular choices for Java application server deployments. Below we\u2019ll cover how to manage Tomcat on Control Web Panel (CWP). Install Tomcat on CWP Read More >","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2022-05-27T18:31:04+00:00","article_modified_time":"2024-06-03T18:27:20+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg","type":"image\/jpeg"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Install Apache Tomcat on Control Web Panel (CWP)","datePublished":"2022-05-27T18:31:04+00:00","dateModified":"2024-06-03T18:27:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/"},"wordCount":843,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg","articleSection":["Server Software"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/","name":"How to Install Apache Tomcat on Control Web Panel (CWP) | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg","datePublished":"2022-05-27T18:31:04+00:00","dateModified":"2024-06-03T18:27:20+00:00","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg","width":1200,"height":630,"caption":"Install Apache Tomcat in Control Web Panel - Java Deployment"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/apache-tomcat-cwp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install Apache Tomcat on Control Web Panel (CWP)"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-install-apache-tomcat.jpg","jetpack_sharing_enabled":true,"primary_category":{"id":4594,"name":"Server Software","slug":"server-software","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/97300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=97300"}],"version-history":[{"count":17,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/97300\/revisions"}],"predecessor-version":[{"id":103093,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/97300\/revisions\/103093"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media\/97291"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=97300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=97300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=97300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}