You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Karim Zaki <Ka...@itworx.com> on 2008/08/29 22:33:27 UTC
Tomcat connector receives 404, IIS logs 200
Hi all,
I'm running a Windows Server 2003 machine with IIS 6 and version 1.2.26.0 of the connector. The back-end server is running Tomcat 5.0.28. When making a request to a URL that doesn't exist on the back-end, I see the following behavior:
1. The Tomcat access log shows a 404 response (expected)
2. The Tomcat connector log shows it received a 404 from Tomcat (expected)
3. The IIS log shows a 200 (unexpected)
Any ideas on how this might happen? I have logs from all three to provide when needed. Just thought to check if anyone's seen this before.
Thanks,
Karim
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Tomcat connector receives 404, IIS logs 200
Posted by Karim Zaki <Ka...@itworx.com>.
I checked and there's no custom error page. As for the browser, it shows Tomcat's 404 error page. However, the IIS logs still show a 200.
________________________________________
From: Rainer Jung [rainer.jung@kippdata.de]
Sent: Monday, September 01, 2008 04:43
To: Tomcat Users List
Subject: Re: Tomcat connector receives 404, IIS logs 200
bhooshanpandit@aol.com wrote:
> Are you sure you don't have something like this in your Tomcat's web.xml:
>
> <error-page>
> <error-code>404</error-code>
> <location>/Failure.jsp</location>
> </error-page>
>
> What response do you get in browser when you try to access a resource
> that does not exist on TC, after by-passing IIS i.e.
> http://<CATALINA_HOST>:<PORT>/<some_resource_that_does_not_exist>?
And what result do you get in your Browser, when using IIS/isapi
redirector/Tomcat? Do you get back a 404 or a 200?
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat connector receives 404, IIS logs 200
Posted by Rainer Jung <ra...@kippdata.de>.
bhooshanpandit@aol.com wrote:
> Are you sure you don't have something like this in your Tomcat's web.xml:
>
> <error-page>
> <error-code>404</error-code>
> <location>/Failure.jsp</location>
> </error-page>
>
> What response do you get in browser when you try to access a resource
> that does not exist on TC, after by-passing IIS i.e.
> http://<CATALINA_HOST>:<PORT>/<some_resource_that_does_not_exist>?
And what result do you get in your Browser, when using IIS/isapi
redirector/Tomcat? Do you get back a 404 or a 200?
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat connector receives 404, IIS logs 200
Posted by bh...@aol.com.
Are you sure you don't have something like this in your Tomcat's
web.xml:
<error-page>
<error-code>404</error-code>
<location>/Failure.jsp</location>
</error-page>
What response do you get in browser when you try to access a resource
that does not exist on TC, after by-passing IIS i.e.
http://<CATALINA_HOST>:<PORT>/<some_resource_that_does_not_exist>?
-----Original Message-----
From: Karim Zaki <Ka...@itworx.com>
To: users@tomcat.apache.org <us...@tomcat.apache.org>
Sent: Sat, 30 Aug 2008 2:03 am
Subject: Tomcat connector receives 404, IIS logs 200
Hi all,
I'm running a Windows Server 2003 machine with IIS 6 and version
1.2.26.0 of the
connector. The back-end server is running Tomcat 5.0.28. When making a
request
to a URL that doesn't exist on the back-end, I see the following
behavior:
1. The Tomcat access log shows a 404 response (expected)
2. The Tomcat connector log shows it received a 404 from Tomcat
(expected)
3. The IIS log shows a 200 (unexpected)
Any ideas on how this might happen? I have logs from all three to
provide when
needed. Just thought to check if anyone's seen this before.
Thanks,
Karim
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
________________________________________________________________________
You are invited to Get a Free AOL Email ID. - http://webmail.aol.in
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org