Re: IIS and Tomcat workers groups
Miguel Gonzalez wrote: Dear all, We currently have an IIS 6 fronting several Tomcat 6 containers with a list of workers for each redirection we want to forward from IIS to each tomcat. We are thinking of migrating to IIS 7.5 and Tomcat 7. Also we would like that two of the nodes share the same redirection and so we can balance the load to two servers instead of having one server. Is it possible that two of the nodes are balanced in a group while the other nodes are stand-alone? As far as I know, at the front-end level you can set "workers" to be either real individual Tomcat nodes, and/or one or more "load balancing worker" each of which has its own set of real Tomcat workers. Does that not cover the need that you express ? Say you have 6 real Tomcats, named T1..T6. You want to pass some requests directly to T1 and T2. For the rest, you make 2 groups of 2 load-balanced Tomcats : group1: T3 & T4 group2 : T5 & T6 For each of the above "groups", you define one "load-balancing worker". Very roughly, in workers.properties (please check the original on-line documentation for precise syntax and properties) : worker.list=T1,T2,LB1,LB2 (you name here only the workers to which you are going to pass requests directly. You do not name T3..T6, because you will not send requests to them directly. Instead, you will send requests for them through LB1 and LB2). # define all "real" workers T1-T6 : worker.T1.type=AJP13 worker.T1.host=T1.mydomain.com worker.T6.type=AJP13 worker.T6.host=T6.mydomain.com # (note: using a "template" for the above will save typing) # define the 2 load-balancing workers : worker.LB1.type=lb (for "load-balancer") worker.LB1.balance_workers=T3,T4 ... worker.LB2.type=lb (for "load-balancer") worker.LB2.balance_workers=T5,T6 ... Now, for the requests that you want to forward specifically to T1 or T2, you use : JkMount /someurl T1 JkMount /someotherurl T2 For the requests which you want to pass to T3 or T4 with load-balancing, you use : JkMount /someadditionalurl LB1 For the requests which you want to pass to T5 or T6 with load-balancing, you use : JkMount /somemoreurl LB2 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: IIS and Tomcat workers groups
Thanks for your prompt answer. there is no way to mix LB nodes and the nodes we currently have in the tomcat IIS plugin? Regards, Miguel - Mensaje original - De: Martin Gainty Para: Tomcat Users List CC: Enviado: Jueves 4 de abril de 2013 12:14 Asunto: RE: IIS and Tomcat workers groups The only way I know how is to have IIS route all requests to a Proxy (such as Squid) http://wiki.squid-cache.org/Features/Redirectors The Proxy Server (Squid) can redirect to LB all requests for GroupNode1 and GroupNode2 Saludos Cordiales desde EEUU Martin __ Porfavor..no altere ni interrumpir esta communicacion..Gracias > Date: Thu, 4 Apr 2013 10:14:50 +0100 > From: miguel_3_gonza...@yahoo.es > Subject: IIS and Tomcat workers groups > To: users@tomcat.apache.org > > Dear all, > > We currently have an IIS 6 fronting several Tomcat 6 containers with a list >of workers for each redirection we want to forward from IIS to each tomcat. > > We are thinking of migrating to IIS 7.5 and Tomcat 7. Also we would like >that two of the nodes share the same redirection and so we can balance the >load to two servers instead of having one server. Is it possible that two of >the nodes are balanced in a group while the other nodes are stand-alone? > > Many thanks > > Miguel - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: IIS and Tomcat workers groups
The only way I know how is to have IIS route all requests to a Proxy (such as Squid) http://wiki.squid-cache.org/Features/Redirectors The Proxy Server (Squid) can redirect to LB all requests for GroupNode1 and GroupNode2 Saludos Cordiales desde EEUU Martin __ Porfavor..no altere ni interrumpir esta communicacion..Gracias > Date: Thu, 4 Apr 2013 10:14:50 +0100 > From: miguel_3_gonza...@yahoo.es > Subject: IIS and Tomcat workers groups > To: users@tomcat.apache.org > > Dear all, > > We currently have an IIS 6 fronting several Tomcat 6 containers with a list > of workers for each redirection we want to forward from IIS to each tomcat. > > We are thinking of migrating to IIS 7.5 and Tomcat 7. Also we would like > that two of the nodes share the same redirection and so we can balance the > load to two servers instead of having one server. Is it possible that two > of the nodes are balanced in a group while the other nodes are stand-alone? > > Many thanks > > Miguel
IIS and Tomcat workers groups
Dear all, We currently have an IIS 6 fronting several Tomcat 6 containers with a list of workers for each redirection we want to forward from IIS to each tomcat. We are thinking of migrating to IIS 7.5 and Tomcat 7. Also we would like that two of the nodes share the same redirection and so we can balance the load to two servers instead of having one server. Is it possible that two of the nodes are balanced in a group while the other nodes are stand-alone? Many thanks Miguel
IIS and Tomcat workers groups
Dear all, We currently have an IIS 6 fronting several Tomcat 6 containers with a list of workers for each redirection we want to forward from IIS to each tomcat. We are thinking of migrating to IIS 7.5 and Tomcat 7. Also we would like that two of the nodes share the same redirection and so we can balance the load to two servers instead of having one server. Is it possible that two of the nodes are balanced in a group while the other nodes are stand-alone? Many thanks Miguel - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: [SPAM:] - IIS and Tomcat Redirector. - Email has different SMTP TO: and MIME TO: fields in the email addresses
I have the same exact problem with my installation of Tomcat and the ISAPI redirector. I have the Web Service Extension in IIS, mapped to the location of the isapi redirector dll, and set it to "allowed"? If anyone can follow-up with the post it would be greatly appreciated. Leo Donahue - PLANDEVX wrote: > > Did you create a Web Service Extension in IIS, mapped to the location of > the isapi redirector dll, and set it to "allowed"? > > > Leo D > > -Original Message- > From: sbell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 19, 2006 11:47 AM > To: users@tomcat.apache.org > Subject: [SPAM:] - IIS and Tomcat Redirector. - Email has different SMTP > TO: and MIME TO: fields in the email addresses > > Hello, > > I am having troubles setting up the Tomcat Redirector (binary version > 1.2.15) on Windows 2000 server. > > Java 1.5_07 is installed, and I am using the base binary installation of > Tomcat 5.5.17. > After installing the redirector dll, I configured an isapi filter on my > web site (not the default web though. That was setup automatically from > the install.) > > Restarted Tomcat, IIS, checked on the ISAPI filter and had the green > upward arrow. > > Went to the /jsp-examples/index.html page, and got an error 404. > > Curiously on the page it claimed to be powered by Jetty. > Jetty is not installed on the server at all, unless it comes as part of > JSpell or the redirector dll. > > The site is password protected, using NTLM After the isapi discovery, > there is hexidecimal / ascii dump of the http headers. > > Any advice would be greatly appreciated. > > Thank you, Steve. > > The isapi dll log file: > [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (762): > Filter started [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] > jk_isapi_plugin.c (828): Virtual Host redirection of > /jsp-examples/index.html [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] > jk_uri_worker_map.c (449): Attempting to map URI > '/jsp-examples/index.html' from 4 maps [Wed Jul 19 14:10:03 2006] > [2260:2232] [debug] jk_uri_worker_map.c (461): Attempting to map context > URI '/servlets-examples/*' > [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_uri_worker_map.c > (461): Attempting to map context URI '/jsp-examples/*' > [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_uri_worker_map.c > (475): Found a wildchar match wlb -> /jsp-examples/* [Wed Jul 19 > 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (845): check if > [/jsp-examples/index.html] is points to the web-inf directory [Wed Jul > 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (863): > [/jsp-examples/index.html] is a servlet url - should redirect to wlb > [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_worker.c (301): > Maintaining worker wlb [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] > jk_worker.c (111): found a worker wlb [Wed Jul 19 14:10:03 2006] > [2260:2232] [debug] jk_isapi_plugin.c (1018): got a worker for name wlb > [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_lb_worker.c (592): > service sticky_session=1 [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] > jk_ajp_common.c (2131): acquired connection cache slot=0 [Wed Jul 19 > 14:10:03 2006] [2260:2232] [debug] jk_lb_worker.c (612): service > worker=ajp13w jvm_route=ajp13w [Wed Jul 19 14:10:03 2006] [2260:2232] > [debug] jk_ajp_common.c (566): ajp marshaling done [Wed Jul 19 14:10:03 > 2006] [2260:2232] [debug] jk_ajp_common.c (1670): processing with 3 > retries [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_connect.c > (328): socket TCP_NODELAY set to On [Wed Jul 19 14:10:03 2006] > [2260:2232] [debug] jk_connect.c (426): trying to connect socket 2708 to > 127.0.0.1:8009 [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] > jk_connect.c (452): socket 2708 connected to 127.0.0.1:8009 [Wed Jul 19 > 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (864): Connected > socket 2708 to (127.0.0.1:8009) [Wed Jul 19 14:10:03 2006] [2260:2232] > [debug] jk_ajp_common.c (909): sending to ajp13 pos=4 len=972 max=8192 > > > --------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/IIS-and-Tomcat-Redirector.-tp5401962p15547046.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IIS and Tomcat 5.5
Hi Mike, The attachment is an instruction that work well for me If you can follow them...! --Daniel On Fri, 2007-06-08 at 14:25 -0400, Michael Angelo wrote: > I have followed the instructions on the Apache web site verbatim and I still > cannot get IIS and Tomcat 5.5 to work together. I have set up the jsp-examples > like the instructions say. The isapi.log file shows the filter matching on > *.jsp and it determines it should be redirected to ‘jakarta’. I get the > error page 404 each and every time. > > > > Any tips? > > > > Mike. > > > > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Configuring the ISAPI Redirector Required files * isapi_redirect.dll - The IIS server plugin. * isapi_redirect.properties - A file that contains the ISAPI redirector configuration properties. A sample isapi_redirect.properties is shown below. * workers.properties - A file that describes the host(s) and port(s) used by the workers (Tomcat processes). A sample workers.properties is shown below. * uriworkermap.properties - A file that maps URL-Path patterns to workers. A sample uriworkermap.properties is shown below. isapi_redirect.property names and values: NameValue extension_uri The value pointing to the ISAPI extension (/jakarta/isapi_redirect.dll) log_fileThe value pointing to location where log file will be created. (C:\Program Files\Tomcat\logs\isapi.log) log_level The value for log level (debug, info, warn, error or trace). worker_file The full path to workers.properties file (C:\Program Files\Tomcat\conf\workers.properties) worker_mount_file The full path to uriworkermap.properties file (C:\Program Files\Tomcat\conf\uriworkermap.properties) rewrite_rule_file The full path to rewrite.properties file (for example C:\Program Files\Tomcat\conf\rewrite.properties) shm_sizeSize of the shared memory. The number of all defined workers * 400. (Set this value only if you have more then 64 workers) worker_mount_reload Value specifying the time in seconds upon which the worker_mount_file will be reloaded. strip_session Value representing a boolean. (The default value is false.) (If it is set to true, URL session suffixes of the form ";jsessionid=..." get stripped of URLs, even if the are served locally by the web server. A true value can be represented by the string "1" or any string starting with the letters "T" or "t". A false value will be assumed for "0" or any string starting with "F" or "f".) Example configuration file for the Jakarta ISAPI Redirector # The path to the ISAPI Redirector Extension, relative to the website # This must be in a virtual directory with execute privileges extension_uri=/jakarta/isapi_redirect.dll # Full path to the log file for the ISAPI Redirector log_file=C:\Program Files\Tomcat\logs\isapi_redirect.log # Log level (debug, info, warn, error or trace) log_level=info # Full path to the workers.properties file worker_file=C:\Program Files\Tomcat\conf\workers.properties # Full path to the uriworkermap.properties file worker_mount_file=C:\Program Files\Tomcat\conf\uriworkermap.properties Example uriworkermap.properties: /examples/*=worker1 /axis/*=axis Example workers.properties: worker.list=worker1,axis worker.worker1.host=192.168.1.23 worker.worker1.port=8009 worker.worker1.type=ajp13 worker.axis.host=192.168.1.11 worker.axis.port=8009 worker.axis.type=ajp13 IIS Configuration 1. Create the file C:\Program Files\Tomcat\conf\uriworkermap.properties using the example above. 2. Create the file C:\Program Files\Tomcat\conf\workers.properties using the example above 3. Create the file C:\Program Files\Tomcat\conf\isapi_redirect.properties using the example above. 4. Using the IIS management console, add a new virtual directory to your IIS web site. The name of the virtual directory must be jakarta. Its physical path should be the directory where you placed isapi_redirect.dll. (C:\Program Files\Tomcat\bin). While creating this new virtual directory assign it execute access. 5. Using the IIS management console, add isapi_redirect.dll as a filter in your IIS web site. The name of the filter should reflect its task (IIS2Tomcat), its executable must be C:\Program Files\Tomcat\
IIS and Tomcat 5.5
I have followed the instructions on the Apache web site verbatim and I still cannot get IIS and Tomcat 5.5 to work together. I have set up the jsp-examples like the instructions say. The isapi.log file shows the filter matching on *.jsp and it determines it should be redirected to ‘jakarta’. I get the error page 404 each and every time. Any tips? Mike. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and Tomcat on different physical servers
Well, I did just what Mladen Turk told me: Use the latest version found on http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2 .19/ (That's why I felt this a bit embarrassing...) :-) I so did and, up it was! There was a small quirk however: Opposite to what's read on the above mentioned page, there was no msi on this one page. I therefore downloaded 1.2.15, the latest version including an msi, and 1.2.19 without any msi. I then installed 1.2.15 and thereafter I copied the 1.2.19 exe file overwriting the 1.2.15 one in the bin directory. Whether it would have worked in a clean 1.2.15 install, I never tried to find out. As to IIS/no Java on one server and Java/Tomcat on the other, it is just a matter of configuring the IP address and port in the JK configuration files. Best regards Øyvind Roth -Original Message- From: Thannhäuser [mailto:[EMAIL PROTECTED] Sent: 10. oktober 2006 16:26 To: users@tomcat.apache.org Subject: RE: IIS and Tomcat on different physical servers Hi! So could you tell us, what you actually did to make it running. I'm having the same problem at the moment. It's pretty working on all Windows XP Servers with IIS 5.1, but not with Windows 2000 Server and IIS 5. Thanks marcel -- View this message in context: http://www.nabble.com/IIS-and-Tomcat-on-different-physical-servers-tf2369658 .html#a6737542 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and Tomcat on different physical servers
Hi! So could you tell us, what you actually did to make it running. I'm having the same problem at the moment. It's pretty working on all Windows XP Servers with IIS 5.1, but not with Windows 2000 Server and IIS 5. Thanks marcel -- View this message in context: http://www.nabble.com/IIS-and-Tomcat-on-different-physical-servers-tf2369658.html#a6737542 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and Tomcat on different physical servers
It did it, most of it at least. Thanks a lot! (A bit embarrassing , though...) (And I also got confirmed my understanding that it is perfectly possible to have Tomcat on a separate machine and that the machine running IIS needs neither Java nor Tomcat (of course)). A couple of issues remain, however: 1) ¤ S1 is a Win2000 Server running IIS ¤ S2 is a Win2000 Server running Tomcat 5.5 and the application myapp ¤ M1 is an arbirtary computer running Win2000 Server ¤ S1, S2 and M1 run inside a firewall and all have routable IP-addresses ¤ C1 is an arbitrary computer outside the firewall running Win 2000 Professional ¤ On the machines S1, S2 and M3, using IE, I get to S2's myapp fine, using the URL http://S1/myapp ¤ On the machines S1, S2 and M3, using IE, I get to jkmanager fine, using the URL http://S1/jkmanager ¤ On the machine C1, I get to http://S1/jkmanager fine ¤ On the machine C1, I do NOT get to http://S1/myapp, instead I get redirected to a strange unknown address (CERN/SMS related by the way) Problem summary question: Could this be a JK problem, or is it most probably an IIS configuration matter? Anyhow, any ideas or tips where to look? 2) Deleting the registry entries on S1 for JK, instead using the documented isapi_redirect.properties (http://tomcat.apache.org/connectors-doc/config/iis.html): ¤ On the server S1 (hosting IIS), I get to the Tomcat application running on the server S2 hosting Tomcat fine, using the URL http://S1/myapp ¤ On the machine S1, I do NOT reach jkmanager, using the URL http://S1/jkmanager ¤ On the machine C1, I do NOT get to http://S1/jkmanager ¤ On the machine C1, I do NOT get to http://S1/myapp Problem summary question: Is the jkmanager somehow related to whether the registry or the isapi_redirect.properties is used? Best regards Øyvind Roth -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 2. oktober 2006 18:54 To: Tomcat Users List Subject: Re: IIS and Tomcat on different physical servers Øyvind Roth wrote: > > Windows 2000 Server SP4 (with IIS v. 5 I assume...) > JK2 v. 2.0.3 > Do not use JK2. It is unsupported for more then 2 years. See: http://tomcat.apache.org/connectors-doc/news/20041100.html#20041115.1 Use JK 1.2.19 instead: http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2 .19/ Regards, Mladen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IIS and Tomcat on different physical servers
Øyvind Roth wrote: Windows 2000 Server SP4 (with IIS v. 5 I assume...) JK2 v. 2.0.3 Do not use JK2. It is unsupported for more then 2 years. See: http://tomcat.apache.org/connectors-doc/news/20041100.html#20041115.1 Use JK 1.2.19 instead: http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.19/ Regards, Mladen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and Tomcat on different physical servers
I don't think you can do it that way, Oyvind. Is there a reason you don't have Tomcat running on the IIS server? You might try changing the port configuration in the server.xml file from port 8080 to port 80 then try it. -Original Message- From: Øyvind Roth [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 8:37 AM To: users@tomcat.apache.org Subject: IIS and Tomcat on different physical servers I am trying to get IIS and Tomcat to communicate on two different machines. With no luck. It seems like almost all questions on the web regarding IIS/Tomcat asssume the two servers run on the same machine. In my case, not. On Server1: Windows 2000 Server SP4 (with IIS v. 5 I assume...) JK2 v. 2.0.3 On Server2: Windows 2000 Server SP4 Tomcat 5.5 Java 1.5.0_06-b05 On Server1: "http://myserver1/jkstatus"; seems to work fine On Server2: "http://myserver2:8080/reptilcom/knife/doit"; works fine When I try to reach Tomcat from Server1, like: "http://myserver1/reptilcom/knife/doit"; I get the following debug/error mesages in the Event Log for JK: Error: [jk_isapi_plugin.c (496)]: HttpExtensionProc worker is NULL Debug: [jk_isapi_plugin.c (491)]: HttpExtensionProc could not get a worker for name lb_ms_rc Debug: [jk_isapi_plugin.c (482)]: HttpExtensionProc started Debug: [jk_isapi_plugin.c (429)]: HttpFilterProc check if [/reptilcom/knife/doit] is pointing to the web-inf directory On server1 no Java and no Tomcat Server are installed. I have assumed all the time that that's OK. Am I right? If not, what's Java/Tomcat doing on Server1? My configuration files are as follows: *** REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] "serverRoot"="C:\\Program Files\\Tomcat 5.5" "extensionUri"="/jakarta/isapi_redirector2.dll" "logLevel"="DEBUG" "workersFile"="C:\\Program Files\\Tomcat 5.5\\conf\\workers2.properties" *** [shm] info=Scoreboard. Required for reconfiguration and status with multiprocess servers. file=C:/Program Files/Tomcat 5.5/work/anon.shm # Defines a load balancer named lb. Use even if you only have one machine. [lb:lb_ms_rc] [channel.socket:MYSERVER2:8009] host= port=8009 # define the worker [ajp13:MYSERVER2:8009] channel=channel.socket:MYSERVER2:8009 group=lb_ms_rc [uri:/reptilcom/knife/doit] group=lb_ms_rc context=/reptilcom/ path=/reptilcom/knife/doit [status:] info=Status worker, displays runtime information [uri:/jkstatus/*] info=The Tomcat /jkstatus handler group=status: [logger.win32] level=INFO regards Øyvind - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
IIS and Tomcat on different physical servers
I am trying to get IIS and Tomcat to communicate on two different machines. With no luck. It seems like almost all questions on the web regarding IIS/Tomcat asssume the two servers run on the same machine. In my case, not. On Server1: Windows 2000 Server SP4 (with IIS v. 5 I assume...) JK2 v. 2.0.3 On Server2: Windows 2000 Server SP4 Tomcat 5.5 Java 1.5.0_06-b05 On Server1: "http://myserver1/jkstatus"; seems to work fine On Server2: "http://myserver2:8080/reptilcom/knife/doit"; works fine When I try to reach Tomcat from Server1, like: "http://myserver1/reptilcom/knife/doit"; I get the following debug/error mesages in the Event Log for JK: Error: [jk_isapi_plugin.c (496)]: HttpExtensionProc worker is NULL Debug: [jk_isapi_plugin.c (491)]: HttpExtensionProc could not get a worker for name lb_ms_rc Debug: [jk_isapi_plugin.c (482)]: HttpExtensionProc started Debug: [jk_isapi_plugin.c (429)]: HttpFilterProc check if [/reptilcom/knife/doit] is pointing to the web-inf directory On server1 no Java and no Tomcat Server are installed. I have assumed all the time that that's OK. Am I right? If not, what's Java/Tomcat doing on Server1? My configuration files are as follows: *** REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] "serverRoot"="C:\\Program Files\\Tomcat 5.5" "extensionUri"="/jakarta/isapi_redirector2.dll" "logLevel"="DEBUG" "workersFile"="C:\\Program Files\\Tomcat 5.5\\conf\\workers2.properties" *** [shm] info=Scoreboard. Required for reconfiguration and status with multiprocess servers. file=C:/Program Files/Tomcat 5.5/work/anon.shm # Defines a load balancer named lb. Use even if you only have one machine. [lb:lb_ms_rc] [channel.socket:MYSERVER2:8009] host= port=8009 # define the worker [ajp13:MYSERVER2:8009] channel=channel.socket:MYSERVER2:8009 group=lb_ms_rc [uri:/reptilcom/knife/doit] group=lb_ms_rc context=/reptilcom/ path=/reptilcom/knife/doit [status:] info=Status worker, displays runtime information [uri:/jkstatus/*] info=The Tomcat /jkstatus handler group=status: [logger.win32] level=INFO regards Øyvind
IIS and Tomcat
Hi, I´ve just connected IIS 5 to Tomcat 5.5.17. The delivery of the webpage (a simple jsp) is very slow. Calling he same jsp to Tomcat directly (Port 8080) the site is displayed very fast. What configuration do I have to change to speed up the delivery through IIS? Regards Timo - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [SPAM:] - IIS and Tomcat Redirector. - Email has different SMTP TO: and MIME TO: fields in the email addresses
Did you create a Web Service Extension in IIS, mapped to the location of the isapi redirector dll, and set it to "allowed"? Leo D -Original Message- From: sbell [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 11:47 AM To: users@tomcat.apache.org Subject: [SPAM:] - IIS and Tomcat Redirector. - Email has different SMTP TO: and MIME TO: fields in the email addresses Hello, I am having troubles setting up the Tomcat Redirector (binary version 1.2.15) on Windows 2000 server. Java 1.5_07 is installed, and I am using the base binary installation of Tomcat 5.5.17. After installing the redirector dll, I configured an isapi filter on my web site (not the default web though. That was setup automatically from the install.) Restarted Tomcat, IIS, checked on the ISAPI filter and had the green upward arrow. Went to the /jsp-examples/index.html page, and got an error 404. Curiously on the page it claimed to be powered by Jetty. Jetty is not installed on the server at all, unless it comes as part of JSpell or the redirector dll. The site is password protected, using NTLM After the isapi discovery, there is hexidecimal / ascii dump of the http headers. Any advice would be greatly appreciated. Thank you, Steve. The isapi dll log file: [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (762): Filter started [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (828): Virtual Host redirection of /jsp-examples/index.html [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_uri_worker_map.c (449): Attempting to map URI '/jsp-examples/index.html' from 4 maps [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*' [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/jsp-examples/*' [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_uri_worker_map.c (475): Found a wildchar match wlb -> /jsp-examples/* [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (845): check if [/jsp-examples/index.html] is points to the web-inf directory [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (863): [/jsp-examples/index.html] is a servlet url - should redirect to wlb [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_worker.c (301): Maintaining worker wlb [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_worker.c (111): found a worker wlb [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (1018): got a worker for name wlb [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_lb_worker.c (592): service sticky_session=1 [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (2131): acquired connection cache slot=0 [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_lb_worker.c (612): service worker=ajp13w jvm_route=ajp13w [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (566): ajp marshaling done [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (1670): processing with 3 retries [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_connect.c (328): socket TCP_NODELAY set to On [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_connect.c (426): trying to connect socket 2708 to 127.0.0.1:8009 [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_connect.c (452): socket 2708 connected to 127.0.0.1:8009 [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (864): Connected socket 2708 to (127.0.0.1:8009) [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (909): sending to ajp13 pos=4 len=972 max=8192 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
IIS and Tomcat Redirector.
Hello, I am having troubles setting up the Tomcat Redirector (binary version 1.2.15) on Windows 2000 server. Java 1.5_07 is installed, and I am using the base binary installation of Tomcat 5.5.17. After installing the redirector dll, I configured an isapi filter on my web site (not the default web though. That was setup automatically from the install.) Restarted Tomcat, IIS, checked on the ISAPI filter and had the green upward arrow. Went to the /jsp-examples/index.html page, and got an error 404. Curiously on the page it claimed to be powered by Jetty. Jetty is not installed on the server at all, unless it comes as part of JSpell or the redirector dll. The site is password protected, using NTLM After the isapi discovery, there is hexidecimal / ascii dump of the http headers. Any advice would be greatly appreciated. Thank you, Steve. The isapi dll log file: [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (762): Filter started [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (828): Virtual Host redirection of /jsp-examples/index.html [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_uri_worker_map.c (449): Attempting to map URI '/jsp-examples/index.html' from 4 maps [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*' [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/jsp-examples/*' [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_uri_worker_map.c (475): Found a wildchar match wlb -> /jsp-examples/* [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (845): check if [/jsp-examples/index.html] is points to the web-inf directory [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (863): [/jsp-examples/index.html] is a servlet url - should redirect to wlb [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_worker.c (301): Maintaining worker wlb [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_worker.c (111): found a worker wlb [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_isapi_plugin.c (1018): got a worker for name wlb [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_lb_worker.c (592): service sticky_session=1 [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (2131): acquired connection cache slot=0 [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_lb_worker.c (612): service worker=ajp13w jvm_route=ajp13w [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (566): ajp marshaling done [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (1670): processing with 3 retries [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_connect.c (328): socket TCP_NODELAY set to On [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_connect.c (426): trying to connect socket 2708 to 127.0.0.1:8009 [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_connect.c (452): socket 2708 connected to 127.0.0.1:8009 [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (864): Connected socket 2708 to (127.0.0.1:8009) [Wed Jul 19 14:10:03 2006] [2260:2232] [debug] jk_ajp_common.c (909): sending to ajp13 pos=4 len=972 max=8192
RE: IIS and Tomcat authentication problems
If this can help ... With jrun the isapi filter need to be in a protected folder for the authentication to be passed to the engine. I.e. if your iis site is password protected and the jrun.dll is in a folder that does not require auth, it won't receive the username. Cheers Phil -Original Message- From: Markus Müller [mailto:[EMAIL PROTECTED] Sent: 21 June 2006 14:26 To: users@tomcat.apache.org Subject: IIS and Tomcat authentication problems Hi listers, I want to use IIS with Tomcat using the the NTLM-detected user name. The integration of IIS and Tomcat works fine, but not the authentication. I managed this for a number of Tomcat versions before, but right know I cannot get it to work. Im am using: Tomcat 5.5.12 IIS V6.0 Windows Server 2003 I added tomcatAuthenticatin="false" to my AJP 1.3 connector that resides von port 8012 (server.xml attached), but the user name simple does not get true. Anybody any ideas? cheers Markus -- Dr. Markus Müller l a t / l o n GmbH (Hamburg) Gluckstr. 53a 22081 Hamburg, Germany phone ++49 +177 2470742 fax ++49 +228 18496-29 http://www.lat-lon.de http://www.deegree.org - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
IIS and Tomcat authentication problems
Hi listers, I want to use IIS with Tomcat using the the NTLM-detected user name. The integration of IIS and Tomcat works fine, but not the authentication. I managed this for a number of Tomcat versions before, but right know I cannot get it to work. Im am using: Tomcat 5.5.12 IIS V6.0 Windows Server 2003 I added tomcatAuthenticatin="false" to my AJP 1.3 connector that resides von port 8012 (server.xml attached), but the user name simple does not get true. Anybody any ideas? cheers Markus -- Dr. Markus Müller l a t / l o n GmbH (Hamburg) Gluckstr. 53a 22081 Hamburg, Germany phone ++49 +177 2470742 fax ++49 +228 18496-29 http://www.lat-lon.de http://www.deegree.org - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connecting IIS and tomcat
dagd wrote: hi, excuse me for this post i'm a new user to Tomcat. At work they just give me the task to connect IIS 6.0 to Tomcat using isapi_redirect.dll. I'm using Win2003 server, Tomcat 5.0.28 and isapi_redirect.dll v1.2.14. I already did add keys to windows registry create workers.properties and uriworkermap.properties ajp12 is unsupported protocol (it works only with Tomcat 3). Also use 1.2.15 version. workers.properties worker.list=ajp13w worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009 uriworkermap.properties /Base|/*=ajp13w Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]