Programming Tutorials

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:

  1. Install Tomcat: Download and install Tomcat on your system. You can download Tomcat from the Apache website.

  2. 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.

  3. 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.

  4. 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).

  5. 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.

  6. 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

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in JSP )

Latest Articles (in JSP)