Categories
Java Linux

Setup Tomcat manager app

In my last post I set up a Tomcat application server in general, now I enable Tomcat manager app for deployment.

# Tomcat Users
mv /app/myApp/tomcat/conf/tomcat-users.xml /app/myApp/tomcat/conf/tomcat-users.xml_original
vim /app/myApp/tomcat/conf/tomcat-users.xml

vim/app/myApp/tomcat/conf/server.xml

# By default the Manager is only accessible from a browser running on the same machine as Tomcat. If you wish to modify this restriction, you'll need to edit the Manager's context.xml file.
vim /app/myApp/tomcat/webapps/manager/META-INF/context.xml


  
  
  

  
    
  

  
    

    
    
    
      
      
        
        
      
    
  
<pre class="CodeMirror" data-setting='{"showPanel":true,"languageLabel":"file","fullScreenButton":true,"copyButton":true,"mode":"xml","mime":"application/xml","theme":"material","lineNumbers":false,"styleActiveLine":false,"lineWrapping":false,"readOnly":true,"fileName":"tomcat/webapps/manager/META-INF/context.xml","language":"XML","maxHeight":"400px","modeName":"xml"}'> <!-- ## uncomment this Block ## -->

Test Tomcat manager app

Open http://myAppServer:7011/manager and login with username: tomcat and password: tomcat.

Leave a Reply

Your email address will not be published. Required fields are marked *