In summary: 1) Edit the isapi_reg file (part of Tomcat or make your own) to and replace $<tomcat_home> with the local path (ie. d:\test\t4\webapps\tomCat_webApp_subfolder...) 2) Run that reg file. 3) Create a virtual folder in your root website named "tomCat_webApp_subfolder", point it to the tomcat webapp subfolder. Default security. 4) Create a virtual folder named jakarta and point it to the bin directory with the isapi_redirect dll file in it. Give this item execute rights. 5) For 2003 only, add a web service called 'jakarta', set it to allow and point it to the isapi dll above. 6) For 2003 only, add the mime types (.class, .properties, .tmp) to the virtual or web folder. 7) Restart the IIS admin service.
As a side note (resolved last week here) for additional servlets under IIS: These are two files located in (or somewhere else if you changed the isapi_redirect reg file) \$TomcatRoot$\WEB-INF\config\jk\iis\ uriworkermap.properties workers.properties In the uriworkermap.properties file you add your custom servlets. In example (/virtualRoot/pathToServlet/servletName/=workerThread): /webapp_subfolder/servlets/yourCustomServlet=$(default.worker) or (for a more generic approach) /webapp_subfolder/servlets/*=main If you were hosting multiple virtual containers all using the same servlets or working in the root containers you would create and edit these two files in the $tomcatHome$\conf\ folder. This is above and beyond installing the servlet itself in Tomcat, copying any files over and editing the web.xml file. -----Original Message----- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 9:11 AM To: Tomcat Users List Subject: Re: ContextManager in Tomcat 5.5? Good Morning Michael have you seen IISConfig doc? http://piglet.uccs.edu/~cs526/jwsdp/docs/tomcat/config/jk.html HTH, M- ----- Original Message ----- From: "Michael Neel" <[EMAIL PROTECTED]> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Thursday, December 15, 2005 11:30 AM Subject: ContextManager in Tomcat 5.5? I'm trying to figure out ways of running Tomcat behind IIS, and area where documentation is very lacking :/ I found the IISConfig directive here at: http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/jk/conf ig/IISConfig.html it says: Generates automatic IIS isapi_redirect configurations based on the Tomcat server.xml settings and the war contexts initialized during startup. This config interceptor is enabled by inserting an IISConfig element in the <ContextManager> tag body inside the server.xml file like so: < ContextManager ... > ... <IISConfig options /> ... < /ContextManager > ..but I have no ContextManager tag in my server.xml and searching the list and tomcat docs hasn't pointed to what happened to it. Where do I need to place the IISConfig tag? Thanks, Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]