Manager app tomcat not accessible

Tomcat 403 Access Denied Error On Redhat

Tomcat 403 Access Denied, Sometimes. we want to access tomcat server over the network with Username and Password for doing some work via GUI. find process id tomcat using ps -ef | grep tomcat and kill tomcat service in Ubuntu using pkill -9 id tomcat. you can use tomcat service Linux to start the service, if tomcat not starting Linux, check the Catalina.out log for troubleshooting.

So it’s pretty simple you just have to define the username and password in tomcat-users.xml file on tomcat 9 server.

This issue will come when you will try to access Manager GUI of tomcat 9 Server. This issue will occur when you will try to access with particular IP address like I’m doing in this post.

Check Out: Deploy war Application on Tomcat Server

I have already configured Username and Password for Web-based access Tomcat server check out here.

To resolve this issue on tomcat 9, you will have to make some changes to achieve this. 

Check Out: How To Change Tomcat Port Number

Go to the location mention below,

/opt/tomcat9/apache-tomcat-9.0.13/webapps/manager/META-INF/context.xml 

By Default Settings are here in this file,

tomcat service linux

 

changed it to comment the <value>

kill tomcat server in ubuntu

Now shutdown and restart the server.

Check Out:  Tomcat 9 setclasspath.sh This file Is needed To Run This Program

Also Kill the tomcat process by checking below command,

ps -ef | grep java

kill -9 pid

tomcat not starting linux

Now try to access Manager GUI on the browser, click on Manager App And Enter your username and password which is defined under tomcat-users.xml file.

Check Out:  Installation of APM Agent In Elasticsearch For Tomcat Server

kill tomcat server in ubuntu

Check Out: Find Stolen Device Location With Prey Tool In Ubuntu

Now Manager App is accessible,

YouTube link: Tomcat 403 Access Denied

That’s it. find process id tomcat kill tomcat server in ubuntu

Rate this article

Leave a Reply

avatar
  Subscribe  
Notify of