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.
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
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:
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.
Most Viewed Articles (in JSP )
Show a calendar for user input in JSP
Encrypting Passwords in Tomcat using Servlets
JSP Tags for SQL to connect to a database
Steps to get a Free SSL certificate for your Tomcat
Uploading a file to a server using JSP
Server Side Programming using JSP
Latest Articles (in JSP)
Show a calendar for user input in JSP
Steps to get a Free SSL certificate for your Tomcat
Encrypting Passwords in Tomcat using Servlets
JSP Tags for SQL to connect to a database
Uploading a file to a server using JSP
Uploading an Image to a Database using JSP
A JSP page that gets properties from a bean
Scriptlets and Expressions in JSP
The taglib, tag, include, attribute and the variable Directive in JSP
Show a calendar for user input in JSP
Encrypting Passwords in Tomcat using Servlets
Steps to get a Free SSL certificate for your Tomcat
JSP Tags for SQL to connect to a database
Uploading an Image to a Database using JSP
Uploading a file to a server using JSP
© 2023 Java-samples.com
Tutorial Archive: Data Science React Native Android AJAX ASP.net C C++ C# Cocoa Cloud Computing EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Trends WebServices XML Office 365 Hibernate
Latest Tutorials on: Data Science React Native Android AJAX ASP.net C Cocoa C++ C# EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Cloud Computing WebServices XML Office 365 Hibernate