Address: http://www.blogjava.net/b47248054/archive/2008/11/27/242963.html
Purpose:SetTomcatAndIISIntegrated and shared80Port. LetIISResolution*. Asp,*. Aspx,*. Jsp,ServletAnd*. DoFile;
Step 1: Make preparations.
In yourTomcatCreate a new directoryIIS.
CopyBin "isapi_redirector2.dllTo your$ Tomcat_home "bin.
CopyBin "isapi_redirector2.dllTo your$ Tomcat_home "IIS.
CopyConf "workers2.propertiesTo your$ Tomcat_home "ConfMedium (Confirm8009The port is not in use)
CopyConf "jk2.propertiesTo your$ Tomcat_home "ConfMedium
ModifyReg "Jakarta. RegContentC: "" tomcat5.5Change all to yourTomcat(It is recommended that there be no spaces in the directory ). Tomcat6.0 is the same
Double-clickIIS. RegFile to import the content to the Registry.
Step 2: ConfigureIIS
Create a virtual directory on the website you wantJakarta(Be sure to do this) and point toIISDirectory, remember to add executable permissions.
Add filterJakarta: Enter the"ISAPIFilter tab. Create a new filterJakarta. Follow these steps: click Add and enter the Filter Name.Jakarta, Executable file selectionIsapi_redirector2.dll. Click OK. Restart the site and check whether the arrow on the filter is green. If yes, it is initially successful.
In this case, you can useHttp: // localhost/AccessIIS.
StartTomcat,(BecauseWorkers2.propertiesThe file has been configured for youTomcatThe default two applicationsJSP-ExamplesAndServlets-examples)You can useHttp: // localhost/JSP-examples/AndHttp: // localhost/Servlets-examples/To accessTomcatThe following two applications.
Note that the address should be fully written and should not be discarded"/".
If you access otherTomcatThe following applications,
Only$ Tomcat_home "conf" workers2.propertiesFile, add similar[URI:/Servlets-examples/*]You can.
For exampleHttp: // localhost: 8080/job/AccessibleTomcatThe followingJobApplication, then we canWorkers2.properties, Add[URI:/job/*]You can.
Web service extensions need to be added for Windows2003 IIS6
Select isapi_redirector2.dll and set it to allow
NOTE: If problems occur during installation, delete all the files you have added.
Attach all files used.
By sofot
Softotto@126.com
Http://www.blogjava.net/b47248054