• Post Reply Bookmark Topic Watch Topic
  • New Topic

IIS AND TOMCAT  RSS feed

 
Charlie Boss
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i just setup tomcat on a server.. tomcat works fine but my problem is it does not work for say: http://localhost/something however it works for http://localhost:8080/something
How can i get it to work on the other port too. Is this a tomcat configuration thing or IIS?
 
Stuart Goss
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which port do you want it to work on, I have only seen it working on 8080 ...?
Stuart
 
Jeff Sunder
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you trying to run? If you are trying to run a JSP or servlet, then you need to indicate the port in your URL. But if you are just calling a web page and you have created a virtual directory under IIS, then you can just type in http://localhost/something.
 
jeremy fodor
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it's caused by iis. to avoid this problem stop the iis or let it listen to another port. Then 'localhost' will work with tomcat (if u have changed the tomcat-configuration, so that it will listen to port 80), or it will only work with'localhost:8080'
 
rob glazier
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apache provides an ISAPI plug-in (iis_redirect.reg) that when set up serves to perform redirection from the IIS ASP engine to the Tomcat JSP engine. Once set up you won't have to provide a port number. IIS will recognize the .jsp and send the request to Tomcat.
There is documentation on the Jakarta site that explains the process. But, I would suggest looking at Appendix G (pages 1099 - 1103) of "Professional JSP" (Wrox). They walk through the process in simple terms. I just went through this yesterday and it worked without too much trouble. And I'm a raw JSP rookie!
Hope that helps
rob
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!