Application Servers - Apache Tomcat - Error - 403 Access Denied
Purpose (problem description)
This page handle the case when you get the error 403 Access Denied after trying to access the tomcat Manager App:
Figure 1
Observed in CAST AIP
| Release | Yes/No |
|---|---|
| 8.3.x | N/A |
| 8.2.x | N/A |
| 8.1.x | N/A |
| 8.0.x | N/A |
Observed on RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | N/A |
| Microsoft SQL Server | N/A |
| CSS2 | N/A |
Step by Step scenario
- Access tomcat app manager from a browser
Action Plan
If you are using Tomcat version which is higher or equal to v8.5.15 then the issue can be due to the fact that you are trying to access the tomcat Manager App by using the IP Address or the Host-name instead of localhost.
One solution is to use the localhost when you are trying to access the Tomcat Manager App on the machine where the Tomcat is Installed.
However incase you try to access Tomcat Manager App from a different machine where using Host-name or IP is necessary, below solution can be used depending on the tomcat version:
When Tomcat version is v8.5.15, add the file manager.xml in the folder : ..\conf\Catalina\localhost, then restart tomcat.
Figure 2When Tomcat version is higher than v8.5.20, Comment the Value section in the file “context.xml” paced at location: ..\conf\context.xml as shown in the below screenshot, then restart tomcat.
Figure 3If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant input
Relevant input
- Tomcat install folder
Notes/comments
Ticket # Number, Number
Related Pages
Specify pages indirectly related to this topic.(eg:side- effects)