Colin,

On 18.8.2014 4:42, Colin Kincaid Williams wrote:
I have then deployed the application war file using the manager. The
application is supposed to take json POST requests, related to a path on
the host filesystem such as /opt/app/app_data/datafile . The POST requests
work on the old glassfish deployed application. However the POST requests
do not seem to work on the tomcat deployed application. Instead I get a
403. I looked through the tomcat logs folder, but only saw the POST
request, and nothing regarding the 403. Can anybody offer some advice. I
would like to note that I had nothing to do with the development of the
application. I'm just the poor sap who has been asked to put it into
production.

Tomcat may return HTTP 403 Forbidden in several cases:

1. If web application do that explicitly, by calling e.g.:

  response.sendError(HttpServletResponse.SC_FORBIDDEN);

or

2. If web application is configured to have security constraints, and you provide, for instance, proper username and password but that username is not in proper role.

According to your web.xml, you don't have security constraints configured there. Therefore, I would assume that 403 was sent explicitly from your webapp.

That realy means that you will have to talk to developers to check under what conditions webapp responds with HTTP 403 Forbidden.

-Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

  • New User Help Colin Kincaid Williams
    • Re: New User Help Ognjen Blagojevic

Reply via email to