Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running a servlet with IIS and tomcat

 
Greg Kearn
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a working index.jsp which calls a working servlet using localhost:8080/website/index.jsp and ... website/servlet/servlet. I created a virtual director in IIS to the location of index.jsp.
Using the correct URL, IIS will display index.jsp but gives me a 404 error when I try to access the servlet.
How do I configure IIS to work with Tomcat servlets?
Thanks for the time.
Greg
 
Greg Kearn
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer for me was 2 fold:
1st - Add two additional lines to uriworkermap.properties
2nd - go into services and stop and start the "WWW Publishing Service", I was using the "Restart IIS" option.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic