Re: ContextManager in Tomcat 5.5?
I guess that Javadocs never got updated when this came over from Tomcat 3.3 ;-). The simplest is to use: .. "Michael Neel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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/config/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 tag body inside the server.xml file like so: < ContextManager ... > ... ... < /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]
Re: ContextManager in Tomcat 5.5?
Yes, I've seen those but they are Tomcat 4 docs. Tomcat 5 does have the IISConfig still, but it has been moved to org.apache.jk.config.IISConfig and the javadocs talk of a tag that I can't find in Tomcat 5.5 Docs. Are the javadocs wrong, and this class should be configured as a Listener? The current version of the IIS doc (http://tomcat.apache.org/connectors-doc/howto/iis.html) makes no mention of IISConfig, so I'm trying to figure out what the changes were beyond moving the class. Mike On 12/15/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > 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" > 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/config/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 tag body inside the server.xml file like so: > > < ContextManager ... > >... > >... > < /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]
Re: ContextManager in Tomcat 5.5?
I'm sorry, I guess I wasn't clear... I already have IIS connecting to Tomcat; I'm trying now to auto config IIS (uriworkermap.properties) from tomcat. Mike On 12/15/05, JT Neville <[EMAIL PROTECTED]> wrote: > In summary: > > 1) Edit the isapi_reg file (part of Tomcat or make your own) to and replace > $ 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" > 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 tag body inside the server.xml file like so: > > < ContextManager ... > >... > >... > < /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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ContextManager in Tomcat 5.5?
In summary: 1) Edit the isapi_reg file (part of Tomcat or make your own) to and replace $ 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" 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 tag body inside the server.xml file like so: < ContextManager ... > ... ... < /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]
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" 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/config/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 tag body inside the server.xml file like so: < ContextManager ... > ... ... < /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]
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/config/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 tag body inside the server.xml file like so: < ContextManager ... > ... ... < /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]