On 04.08.2016 11:15, Syed Mudassir Ahmed wrote:
What are the various reasons for the tomcat server to throw internal server
error 500?
Nitpicking : tomcat server does not really "throw internal server error 500".
The "internall error 500" is a HTTP response that Tomcat sends back to a client in certain
circumstances.
These circumstances may be the result of some malfunction of some component (like a java
exception etc), but Tomcat catches these cases, and is still working well enough to
compose and send that response to the client. If it really crashed, it would not even send
that response.
99.9% : web application errors, misconfiguration resulting in a crash of a
component
0.1% : maybe bugs, maybe things that a client is really not supposed to send to
a webserver..
Errors linked to what a client sends to the webserver (bad request syntax etc.) are
supposed to result in 4xx responses.
In general, search Google for : http status codes
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org