OK, what's happening here is that a request is being made to IIS for a resource named '/testyourself.jsp' and IIS is responding with a status code of 404.3 which essentially means that IIS doesn't have an appropriate MIME type mapping to handle the request.
Now, under most circumstances, Tom's suggested advice would point you in the right direction - namely that adding the appropriate MIME type will fix the problem.
However, this isn't most circumstances. This is a situation where you are trying to use a 3rd party ISAPI filter to intercept and process the request. So, simply adding a MIME type for .jsp files won't work.
The fact that you are getting an error response from IIS tells us that the request for '/testyourself.jsp' isn't being processed by the Tomcat ISAPI connector so it is passed to IIS which responds with a 404.3 - which, from an IIS perspective, is a perfectly
valid response.
In a nutshell, you can't fix this by changing IIS - you need to fix your Tomcat setup so that it knows that it has to handle this request.
Now, under most circumstances, Tom's suggested advice would point you in the right direction - namely that adding the appropriate MIME type will fix the problem.
However, this isn't most circumstances.
Which is why Paul is absolutely the best person to help you with Tomcat/jsp issues! : )
Your web site is configured to only listen on a configured host header. To avoid this problem either add an additional binding which specifies the IP address with no host header value or only access the web site using its configured host header name.
murtaza_t
484 Posts
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 04, 2009 12:27 PM|LINK
@ Paul Lynch: Thanks for the correction mate.
@ ramskuwait:
Are you using an ISAPI_redirector..? If Yes, does it load correctly with IIS.? What happens if you browse your application with tomat service port..?
Regards,
Murtaza
Web Hosting UK | VPS Hosting
tomkmvp
7657 Posts
MVP
Moderator
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 04, 2009 01:40 PM|LINK
: )
http://mvp.support.microsoft.com/
Paul Lynch
1589 Posts
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 04, 2009 03:37 PM|LINK
Hi,
OK, what's happening here is that a request is being made to IIS for a resource named '/testyourself.jsp' and IIS is responding with a status code of 404.3 which essentially means that IIS doesn't have an appropriate MIME type mapping to handle the request.
Now, under most circumstances, Tom's suggested advice would point you in the right direction - namely that adding the appropriate MIME type will fix the problem.
However, this isn't most circumstances. This is a situation where you are trying to use a 3rd party ISAPI filter to intercept and process the request. So, simply adding a MIME type for .jsp files won't work.
The fact that you are getting an error response from IIS tells us that the request for '/testyourself.jsp' isn't being processed by the Tomcat ISAPI connector so it is passed to IIS which responds with a 404.3 - which, from an IIS perspective, is a perfectly valid response.
In a nutshell, you can't fix this by changing IIS - you need to fix your Tomcat setup so that it knows that it has to handle this request.
Regards,
MCSE
tomkmvp
7657 Posts
MVP
Moderator
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 04, 2009 04:22 PM|LINK
Which is why Paul is absolutely the best person to help you with Tomcat/jsp issues! : )
http://mvp.support.microsoft.com/
Paul Lynch
1589 Posts
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 05, 2009 01:48 PM|LINK
Hi,
Thanks Tom :-)
If anyone's interested I've finally got around to updating that article for IIS 7.0 here :
How To Configure IIS 7.0 and Tomcat with the JK 1.2 Connector
Regards,
MCSE
ramskuwait
19 Posts
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 07, 2009 07:47 AM|LINK
Hi! All,
Now,I am getting my jsp pages but when i click on my submit button it shows the
HTTP Error 405 - The HTTP verb used to access this page is not allowed.
Internet Information Services (IIS).
In my windows log it displays as
2009-06-07 07:45:56 W3SVC772920 192.100.100.200 POST /kmc/test2_result.jsp - 80 - 192.100.100.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+InfoPath.2) 405 0 1
Is there any changes to made in IIS6?
Your help is appreciated.
Thanks
Rams
ramskuwait
19 Posts
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 07, 2009 01:51 PM|LINK
Hi! All
Now all jsp files are running perfectly.But only one Jsp file shows like below
Status : 502 Bad Gateway
Description : Mal-formed reply from origin server.
Note : If necessary, please contact your Systems Administrator for resolution.
Quick response is appreciated.
Thanks
Rams
ramskuwait
19 Posts
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 08, 2009 12:20 PM|LINK
Hi!All,
Thanks to all guys who gives the valuable information ,Now my new web site accepting all Jsp files.
But my web site working on domain name only,It can not working on IP Address.If am accessing on IP Address it Shows the message like below
Bad Request (Invalid Hostname)
Your help is appreciated.
Thanks
Rams
Paul Lynch
1589 Posts
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 08, 2009 02:17 PM|LINK
Hi,
Your web site is configured to only listen on a configured host header. To avoid this problem either add an additional binding which specifies the IP address with no host header value or only access the web site using its configured host header name.
Regards,
MCSE
ramskuwait
19 Posts
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 09, 2009 10:25 AM|LINK
Hi! All,
My new website is working through the proxy only.If I run on IP Address,it can not working.
It works only on domain name through the proxy.
http://192.x.x.x/ - it shows page can not be found.
http://www.<domainname>.com -it works fine
http://192.x.x.x:8080/ -it works fine
Anything wrong in my configurations?
Quick response is appreciated.
Thanks
Rams