Integrate Tomcat4.1 and IIS5 until jsp can be opened properly (absolutely detailed operation)

Source: Internet
Author: User

Notes for actual operations:


The \ In the reg file cannot be changed; otherwise, the import will not be performed in the registry.
Iis6.0 and tomcat (a good JSP running platform) can be configured successfully under 4.1.
Port 9003 is actually the default port. (An error occurred when I changed it to port 8080)
... Configuration is a painful process. Fortunately, I found the following article:
Integrate tomcat (a good JSP running platform) 5 and IIS5 and open jsp normally (preferred for SUN Enterprise Applications) (absolutely detailed operations)

 

I have read N documents before and have followed the instructions in the configuration, but I have never succeeded. Today I have succeeded !!! When I look back at those documents, I will directly Ctrl + C and Ctrl + v (I don't want to explain the source of the original article, and I can't ask anyone ), key operations are always vague, and even if the configuration is complete, the jsp (first choice for SUN Enterprise Applications) page cannot be opened, and some of them will not be actually operated ...... alas ......

Yesterday, I asked a friend of the richest man (who told me that I am greedy? 555). I went to the information and found that the configuration was successful yesterday afternoon.

Several problems that need to be explained: the operating system win2000pro has installed Jbilder8 and has never set environment variables such as JAVA_HOME. Several files needed in this article are connected to download at the end of the article, I integrated IIS5 + tomcat (a very useful JSP running platform) 5.0.7, but it is estimated that IIS6 and tomcat (a very useful JSP running platform) 4 should also work. Sorry, I installed a patch for win2003. As a result, the Daemon virtual optical drive fails and ISO cannot be recognized. IIS6 is also broken and there is no way to test it. Please allow me to be depressed first.

Now, let's start with my specific operation steps:


1. Install tomcat (a good JSP running platform) 5.0.7.
Run jakarta-tomcat(a very useful jspruntime platform running -5.0.7.exe, the installation mode does not need to be normal, but select full (this will install tomcat (a very useful JSP running platform) into win2000 services, and the source code of tomcat (a very useful JSP running platform), and then follow the prompts. My taomcat is installed in C: Program Filesapache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0.7.

2. Set the environment variable tomcat (a good JSP running platform) _ home. On the desktop, "My Computer"-> right-click-> "properties"-> "advanced"-> "environment variable"-> "system variable"-> "new"-> variable name: tomcat (a very useful JSP running platform) _ home, variable value: C: Program Filesapache (the most popular WEB server platform on Unix) software Foundationomcat (a good JSP running platform) 5.0.7. Click "OK" to save.

3. create a new "ctor" folder in C: Program Filesapache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0.7conf, and then copy isapi_redirector2.dll to C: program Filesapache (the most popular WEB server platform on the Unix platform) Software Foundationomcat (a very useful JSP running platform) under 5.0.7confconnector.

4. create workers2.properties to C: Program Filesapache (the most popular WEB server platform on Unix) under Software Foundationomcat (a very useful JSP running platform) 5.0.7conf (workers2.properties in my attachment can be used, before use, modify the first line of the file and set "C:/Program Files/apache (the most popular WEB server platform on Unix) software Foundation/tomcat (a very useful JSP running platform) 5.0.7/logs/jk2.log "is changed to the path you need. Note When copying the path in the address bar, is "/" instead of "", which is different from the path indicated by windows ).

5. create jk2.properties to C: Program Filesapache (the most popular WEB server platform on Unix) Software Foundationomcat (a very useful JSP running platform) 5.0.7conf (use jk2.properties in my attachment directly ).

6. import the Registry File isapi_redirect.2.0.reg (double-click the file and click OK.) before importing the file, modify the Registry file and set "C: \ Program Files \ apache (the most popular WEB server platform on the Unix platform) Software Foundation \ tomcat (a very useful JSP running platform) replace 5.0.7 with your tomcat installation path (a useful JSP running platform.

7. choose "start"> "Settings"> "Control Panel"> "Administrative Tools"> "Internet Service Manager" and find your site (my computer name is lnboy and "Default Web site "). Right-click and choose "property"> "ISAPI filter"> "add"> Filter Name: jakarta. Executable File: C: program Filesapache (the most popular WEB server platform on the Unix platform) Software Foundationomcat (a very useful JSP running platform) 5.0.7confconnectorisapi _ redirector2.dll. Click "OK" to save.

8. next, right-click "Default Web site" and choose "New"> "virtual directory"> "Next"> "alias": jakarta, and click "Next"> "directory": C: program Filesapache (the most popular WEB server platform on the Unix platform) Software Foundationomcat (a very useful JSP running platform) 5.0.7confconnector, and then click Next-> "Run (such as ISAPI application or CGI) "Check one item, click next, and then click" finish ".

9. Restart "Default Web site ". Right-click "Default Web site" and choose "properties"> "ISAPI filter". If the arrow in front of "jakarta" is green, the configuration is successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.