将TOMCAT装入IIS全攻略_MySQL
TomcatIIS
来源:网友提供如有版权问题请与我们联系
Tomcat IIS
HowTo:将Tomcat装入IIS全攻略
1,我的安装环境是W2K(日文版),IIS5
Tomcat
3.1下载地址
http://jakarta.apache.org/builds/tomcat/release/v3.1/bin/
isapi_redirect.dll下载地址
http://jakarta.apache.org/builds/tomcat/release/v3.1/bin/win32/i386/
放到{TOMCATHOME}iniisi386isapi_redirect.dll
2,先要保证Tomcat可以正确执行
3,将下面的begin和end之间的Jakarta.reg文件装入机器,我的Tomcat装在c:\jakarta-tomcat,你可根据自己的环境修改Jakarta.reg文件
Jakarta.reg:
---begin---
Windows
Registry Editor Version
5.00
[HKEY_LOCAL_MACHINESOFTWAREApache Software
FoundationJakarta Isapi
Redirector1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="c:\jakarta-tomcat\logs\isapi.log"
"log_level"="debug"
"worker_file"="c:\jakarta-tomcat\conf\workers.properties"
"worker_mount_file"="c:\jakarta-tomcat\conf\uriworkermap.properties"
---end---
4,按照上文配置IIS,以我的经验安装好isapi_redirect.dll后,需要重新启动机器(重启IIS不好使),实在不行的话再装一次
5,启动tomcat,然后在ie中键入http://baryon/examples/,看一下效果如何,没有用8080port也可以用jsp和servlet了。注意不启动tomcat,光有iis是不行的。再注意http://baryon/examples/最后的"/"一定要有,否则会找不到的,我就是因为这一点没注意而怀疑整个安装过程是否正确的。
另付Tomcat
IIS
HowTo原文地址:
http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-tomcat/etc/tomcat-iis-howto.html?rev=1.4&content-type=text/html

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

To deploy multiple projects through Tomcat, you need to create a webapp directory for each project and then: Automatic deployment: Place the webapp directory in Tomcat's webapps directory. Manual deployment: Manually deploy the project in Tomcat's manager application. Once the project is deployed, it can be accessed by its deployment name, for example: http://localhost:8080/project1.

The Tomcat website root directory is located in Tomcat's webapps subdirectory and is used to store web application files, static resources, and the WEB-INF directory; it can be found by looking for the docBase attribute in the Tomcat configuration file.

Converting an HTML file to a URL requires a web server, which involves the following steps: Obtain a web server. Set up a web server. Upload HTML file. Create a domain name. Route the request.

To configure Tomcat to use a domain name, follow these steps: Create a server.xml backup. Open server.xml and add the Host element, replacing example.com with your domain name. Create an SSL certificate for the domain name (if required). Add an SSL connector in server.xml, change the port, keystore file, and password. Save server.xml. Restart Tomcat.

The maximum number of Tomcat connections limits the number of clients connected at the same time, while the maximum number of threads limits the number of threads that can handle requests at the same time. These limits prevent server resource exhaustion and are configured by setting the maxConnections and maxThreads properties in server.xml to match server capacity and load.

Reasons for Tomcat garbled characters: 1. Character set mismatch; 2. HTTP response header is not set correctly; 3. Filter or encoder configuration error; 4. Web page encoding is incorrect; 5. Other reasons (including server-side language, database encoding and proxy server issues).

To add a server to Eclipse, follow these steps: Create a server runtime environment Configure the server Create a server instance Select the server runtime environment Configure the server instance Start the server deployment project

The steps to deploy the WAR package to Tomcat are as follows: Copy the WAR package to the webapps directory of Tomcat. Start the Tomcat server and it will automatically deploy the WAR package. Access the application by entering the application's context path into the browser.
