April 14th, 2003, 08:55 AM
IIS and Tomcat HELP PLEASE!!!
Hi all, so, I follow the instructions that I've found here and in other places and I get the connector (isapi_redirector) working for the <CATALINA_HOME>/examples folder. I'm thinking yeeha, right? No yeeha. I cannot seem to add any other contexts to Tomcat and get them to work. The thing that's frustrating me is that if I go to http://localhost:8080/survey I get my app, if I go to http://localhost/survey after defining the /survey=$(default.worker) it doesn't work. I took the app that I'm building and put it in the examples folder and it works. But if I try to just go to http://localhost/survey it won't work. I'm flabbergasted. I've been working on this for almost 3 days now. Anyone have any suggestions?
signed "wit's end"
April 22nd, 2003, 12:25 PM
you should change the port number of tomcat server...
the instructions are:
Assuming you have no other server already running on port 80, you'll find it convenient to configure Tomcat to run on the default HTTP port (80) instead of 8080. Making this change lets you use URLs of the form http://localhost/blah instead of http://localhost:8080/blah. Note that you need admin privileges to make this change on Unix. Also note that Windows XP automatically starts IIS on port 80. So, if you use XP and want to use port 80 for Tomcat, you'll need to disable IIS.
To change the port, edit install_dir/conf/server.xml and change the port attribute of the Connector element from 8080 to 80, yielding the result below. (Note that the exact class name of the Connector varies in different Tomcat versions. It was called HttpConnector in earlier versions of Tomcat 4.)
April 22nd, 2003, 12:42 PM
Thank you for the reply hurshid. The actual problem stems from the fact the company I currently am working for serves both asp based sites and jsp based sites from the same server. So, (and no Apache::Asp -- Perl comments please lol) I have to try and serve java based web-apps through IIS, which I got to work after all.
If anyone else is looking for integration stuff between IIS and tomcat check this out...
The automated guy worked great and also the manual config worked as well.