IIS and Tomcat - how to configure to work together
By: Emiley J. in JSP Tutorials on 2009-09-01
To configure IIS and Tomcat to work together so that IIS listens to port 80 and Tomcat listens to port 8080, you need to follow these steps:
-
Install Tomcat: Download and install Tomcat on your system. You can download Tomcat from the Apache website.
-
Install the IIS Tomcat Connector: Download the IIS Tomcat Connector from the Apache website and install it. This connector will allow IIS to communicate with Tomcat.
-
Configure Tomcat to use port 8080: By default, Tomcat uses port 8080. If you want to use a different port, you can change the port number in the server.xml file located in the conf directory of Tomcat.
-
Configure the Tomcat Connector in IIS: Open the IIS Manager and select the website that you want to configure. Right-click on the website and select "Properties". Click on the "ISAPI Filters" tab and click "Add". Enter a name for the filter and the path to the isapi_redirect.dll file (this file is included in the IIS Tomcat Connector).
-
Configure the virtual directory: Right-click on the website and select "New Virtual Directory". Enter a name for the virtual directory and the path to the Tomcat application that you want to map to this virtual directory.
-
Test the configuration: Open a web browser and enter the URL of the website. If everything is configured correctly, you should see the website running on port 80.
Note that these steps are just a basic outline of the configuration process. The actual steps may vary depending on the specific versions of IIS and Tomcat that you are using, as well as the operating system that you are running.
Add Comment
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
- Data Science
- Android
- React Native
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
Comments