Tomcat and IIS

xiaoxiao2021-03-06  137

Tomcat and IIS The most commonly used WE B server under the Wi NDOWS platform is undoubtedly IIS (including PWS). For IIS, TO MCAT also provides methods of cooperating with work, using this method, you can have Java servlet and JSP Function IIS increases the functionality of the JSP and J AV AS ERVlets. In order to work together with the To McAT and IIS, you must get ISAPI _ Redirect. DLL, this is an IIS plugin (P LUG - IN), can be used from http: / / jakarta. A pache. O RG / Download compilation Version, you can also use Visual C to compile itself. After getting it, put it in your favorite directory, such as C: / Tomcat / Jakarta-Tomcat / Bin / IIS / I386 / directory. In addition, during the process of mating I I S and TO M C A T, the configuration file of the other two TO M c A T is also required, one is W O R k E R s. P R O P E R T I e s, which defines the host and port used by the working process of TO M C A t. There is an exemplary W O R K E R S. P R O P E R T I E E S file in the C O N f directory of TO M C A T. The other is U R I W O R K E R M A P. P R O P E R T I E E S, this file is a map of the U r L directory and the TO M c A T work process. Similarly, there is an exemplary U R I W O R K E R M A P. P R OP E R T I E E S. First, configure I S A P i _ R E D I R E C T. D L. 1) Create a new key value in the system registry: HKEY _ local _ Machine / Soft Wa RE / A PACH ESOFTWARE FOUNDATION / JAKARTA Isapi Redirector / 1.0.2) Add a string value named Extension _ URI is / JAKARTA / ISAPI _ Redirect. DLL. 3) Add a string value called L O g_ f i l E C: / T O m C A T / J a K A R T A - T O m C A T / L O g S / I S A P i. L o g. 4) Add one of the string values ​​called L O g_l E V E L as D E B U G, I N f O R M, E R R O R, E M E RG. 5) Add a string value named W o R k e r _ f i l e is 6) c: /tomcat/jakarta-tomcat/conf/Workers.properties. 7) Add a string value called W o R k e r _ M o U N t _ f i l E) C: / Tomcat / Jakarta-Tomcat / conf / uriworkermap.properties. Then, open the management console of I I S and add a virtual directory to the Web site of the JS P and Java Servlet services using TO M C A T.

转载请注明原文地址:https://www.9cbs.com/read-127572.html

New Post(0)