hi there
I'm sure this has been answered or at least dealt with, so my apologizes ahead of time, but i just spent over 4 hrs today trying to figure this out and still can't seem to find the answer anywhere.
We recently got a new server, and would like to run an application with Tomcat on it. So we installed
- IIS 7.0
- Java JRE 6u20 (C:\Java)
- Tomcat 6.0.26 (C:\Tomcat)
I followed the steps in this tutorial (
http://www.iisadmin.co.uk/?p=72) which seemed quite explicit and easy to follow. It's just that now ... when we try to access servlets over the web, we can't loose the 404 error message.
---
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
---
I've followed the steps in several threads
https://coderanch.com/t/362081/Servlets/java/Tomcat-requested-resource-not-available
https://coderanch.com/t/359955/Servlets/java/HTTP-Status-servlet-error-requested
and also in the FAQ
http://faq.javaranch.com/view?InvokerServlet
but can't seem to be able to get anywhere.
We've been looking at the Hello World example.
If we comment out the servlet-mapping (just as a test) - the localhost:8080 no longer works.
So i put the comments back in - works again.
We shouldn't have to do that anyway since the servlet mappings and and servlet declarations are already in place in the web.xml file under:
C:\Tomcat\webapps\examples\WEB-INF
copy from this file:
...
(other servlets)
...
(other mappings)
Any thoughts would be appreciated.
Thanks much
p.s. we've been struggling on this for a pretty long time