RE: JK connector issue - Can't get JKStatus working with IIS 6.0
Hi, Thank you everyone for the support, it's really appreciated. I think my problem is a rule priority problem, here is the JK log with debug on: May 14 10:27:59 2007] [2564:2720] [debug] HttpFilterProc::jk_isapi_plugin.c (747): Filter started [Mon May 14 10:27:59 2007] [2564:2720] [debug] HttpFilterProc::jk_isapi_plugin.c (813): Virtual Host redirection of /hostname.domainname.com/jkmanager [Mon May 14 10:27:59 2007] [2564:2720] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/hostname.domainname.com/jkmanager' from 2 maps [Mon May 14 10:27:59 2007] [2564:2720] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/jkmanager' [Mon May 14 10:27:59 2007] [2564:2720] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*' [Mon May 14 10:27:59 2007] [2564:2720] [debug] map_uri_to_worker::jk_uri_worker_map.c (475): Found a wildchar match wlb - /* [Mon May 14 10:27:59 2007] [2564:2720] [debug] HttpFilterProc::jk_isapi_plugin.c (830): check if [/jkmanager] is points to the web-inf directory [Mon May 14 10:27:59 2007] [2564:2720] [debug] HttpFilterProc::jk_isapi_plugin.c (848): [/jkmanager] is a servlet url - should redirect to wlb [Mon May 14 10:27:59 2007] [2564:2720] [debug] wc_get_worker_for_name::jk_worker.c (111): found a worker wlb [Mon May 14 10:27:59 2007] [2564:2720] [debug] HttpExtensionProc::jk_isapi_plugin.c (1003): got a worker for name wlb Is it correct to say that my URI rule /*=wlb Has a higher priority than /jkmanager=jkstatus? If yes, it there a way to tell the JK to match the jkstatus rule prior to the other one? Thank you very much -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: May 12, 2007 7:02 AM To: Tomcat Users List Subject: Re: JK connector issue - Can't get JKStatus working with IIS 6.0 Since your original config looked OK, could you set your log level for the isapi redirector to trace and log startup and a single test against your configured status URL? Please post the results, so we can see, if the URL got mapped, and why the request didn't get forwarded. Regards, Rainer Mladen Turk wrote: Jean-Francois Beaulac wrote: The Connector itselfs works perfectly, I just want to enable the JKStatus page that shows information about the workers and also allow to make changes at runtime to work. In the documentation I've seen specific configuration for Apache HTTPD to mount the JKStatus, but I could not find similar information for IIS. I presume you have added in workers.properties ... worker.list=jkstatus,... ... worker.jkstatus.type=status Then inside uriworkermap.properties add something like: /one-very-fancy-manger=jkstatus Finally hitting the http://yourhost/one-very-fancy-manger will open you the whole new world :) 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] -- -- kippdata informationstechnologie GmbH Tel: 0228 98549 -0 Bornheimer Str. 33aFax: 0228 98549 -50 53111 Bonn www.kippdata.de HRB 8018 Amtsgericht Bonn / USt.-IdNr. DE 196 457 417 Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann === kippdata informationstechnologie GmbH Tel: +49 228 98549 -0 Bornheimer Str. 33aFax: +49 228 98549 -50 D-53111 Bonn www.kippdata.de HRB 8018 Amtsgericht Bonn / USt.-IdNr. DE 196 457 417 Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann - 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: JK connector issue - Can't get JKStatus working with IIS 6.0
OK, that solves the quiz: The isapi plugin has a speciality. It first checks for a forwarding rule, which is specific for the virtual server. If it doesn't find one, then it checks for global rules. Unfortunately there is a little gotcha, if you use /* as a rule. It will always map as a virtual host rule. ;ore precisely the plugin first prefixes your request URL with /YOURVIRTUALHOST, in your case /hostname.domainname.com. This new URL is then matched against all forwarding rules. In your case /* will match and will be chosen. If none would match, then it would use the original URL without virtual host prefix and try again. So if you really have to use the global /*, then you need to use /hostname.domainname.com/jkmanager in your forwarding rule for the manager. Longer rules will be preferred about shorter ones, but the virtual server match will always be done first. Regards, Rainer Jean-Francois Beaulac wrote: Hi, Thank you everyone for the support, it's really appreciated. I think my problem is a rule priority problem, here is the JK log with debug on: May 14 10:27:59 2007] [2564:2720] [debug] HttpFilterProc::jk_isapi_plugin.c (747): Filter started [Mon May 14 10:27:59 2007] [2564:2720] [debug] HttpFilterProc::jk_isapi_plugin.c (813): Virtual Host redirection of /hostname.domainname.com/jkmanager [Mon May 14 10:27:59 2007] [2564:2720] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/hostname.domainname.com/jkmanager' from 2 maps [Mon May 14 10:27:59 2007] [2564:2720] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/jkmanager' [Mon May 14 10:27:59 2007] [2564:2720] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*' [Mon May 14 10:27:59 2007] [2564:2720] [debug] map_uri_to_worker::jk_uri_worker_map.c (475): Found a wildchar match wlb - /* [Mon May 14 10:27:59 2007] [2564:2720] [debug] HttpFilterProc::jk_isapi_plugin.c (830): check if [/jkmanager] is points to the web-inf directory [Mon May 14 10:27:59 2007] [2564:2720] [debug] HttpFilterProc::jk_isapi_plugin.c (848): [/jkmanager] is a servlet url - should redirect to wlb [Mon May 14 10:27:59 2007] [2564:2720] [debug] wc_get_worker_for_name::jk_worker.c (111): found a worker wlb [Mon May 14 10:27:59 2007] [2564:2720] [debug] HttpExtensionProc::jk_isapi_plugin.c (1003): got a worker for name wlb Is it correct to say that my URI rule /*=wlb Has a higher priority than /jkmanager=jkstatus? If yes, it there a way to tell the JK to match the jkstatus rule prior to the other one? Thank you very much - 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: JK connector issue - Can't get JKStatus working with IIS 6.0
Since your original config looked OK, could you set your log level for the isapi redirector to trace and log startup and a single test against your configured status URL? Please post the results, so we can see, if the URL got mapped, and why the request didn't get forwarded. Regards, Rainer Mladen Turk wrote: Jean-Francois Beaulac wrote: The Connector itselfs works perfectly, I just want to enable the JKStatus page that shows information about the workers and also allow to make changes at runtime to work. In the documentation I've seen specific configuration for Apache HTTPD to mount the JKStatus, but I could not find similar information for IIS. I presume you have added in workers.properties ... worker.list=jkstatus,... ... worker.jkstatus.type=status Then inside uriworkermap.properties add something like: /one-very-fancy-manger=jkstatus Finally hitting the http://yourhost/one-very-fancy-manger will open you the whole new world :) 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] -- -- kippdata informationstechnologie GmbH Tel: 0228 98549 -0 Bornheimer Str. 33aFax: 0228 98549 -50 53111 Bonn www.kippdata.de HRB 8018 Amtsgericht Bonn / USt.-IdNr. DE 196 457 417 Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann === kippdata informationstechnologie GmbH Tel: +49 228 98549 -0 Bornheimer Str. 33aFax: +49 228 98549 -50 D-53111 Bonn www.kippdata.de HRB 8018 Amtsgericht Bonn / USt.-IdNr. DE 196 457 417 Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JK connector issue - Can't get JKStatus working with IIS 6.0
Hi, Im currently trying to get the JKStatus to work with the apache JK connector and IIS6.0. Is there some special configuration I have to do in IIS to get it working? The ajp13 connector works fine but I cant get the JKStatus page. It returns me a Tomcat 404 Http error, which is weird since from my understanding Tomcat should not be involved at all with the JKStatus. Here are my workers.properties uriworkermap.properties files: This is my workers.properties file # workers.properties # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with # worker.list=wlb,jkstatus # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8023 # # Defining a load balancer # worker.wlb.type=lb worker.wlb.balance_workers=ajp13w # # Define status worker # worker.jkstatus.type=status worket.jkstatus.mount=/jkmanager This is my uriworkermap.properties # uriworkermap.properties - IIS # # This file provides sample mappings for example wlb # worker defined in workermap.properties.minimal # The general syntax for this file is: # [URL]=[Worker name] /*=wlb # # Mount jkstatus to /jkmanager # For production servers you will need to # secure the access to the /jkmanager url # /jkmanager=jkstatus Thank you Jean-Francois Beaulac [EMAIL PROTECTED] Jean-Francois Beaulac - VP Technologies mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] +1 514.598 0406 Beetext - http://www.beetext.com/ www.beetext.com Project Efficiency Solutions Check out our newsletter, The Hive - http://www.beetext.com/newsletter/apr07/index.html http://www.beetext.com/newsletter/apr07/index.html Lisez notre communiqué mensuel, La ruche - http://www.beetext.com/newsletter/apr07/index_fr.html http://www.beetext.com/newsletter/apr07/index_fr.html
RES: JK connector issue - Can't get JKStatus working with IIS 6.0
Hi Jean, I could succesfully integrate IIS 6 with Tomcat (also 6), and you really need an extra step to het it done: Note that in IIS 6, there is a new item named 'Web Service Extension'. Right click on it and then 'Add new Web Service Extension' . Name it jakarta and point it to your isapi_redirect.dll location. Doing that should solve your problem... Just let us know if it worked! Yours, Marcus -Mensagem original- De: Jean-Francois Beaulac [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 11 de maio de 2007 14:49 Para: users@tomcat.apache.org Assunto: JK connector issue - Can't get JKStatus working with IIS 6.0 Hi, I'm currently trying to get the JKStatus to work with the apache JK connector and IIS6.0. Is there some special configuration I have to do in IIS to get it working? The ajp13 connector works fine but I can't get the JKStatus page. It returns me a Tomcat 404 Http error, which is weird since from my understanding Tomcat should not be involved at all with the JKStatus. Here are my workers.properties uriworkermap.properties files: This is my workers.properties file # workers.properties # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with # worker.list=wlb,jkstatus # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8023 # # Defining a load balancer # worker.wlb.type=lb worker.wlb.balance_workers=ajp13w # # Define status worker # worker.jkstatus.type=status worket.jkstatus.mount=/jkmanager This is my uriworkermap.properties # uriworkermap.properties - IIS # # This file provides sample mappings for example wlb # worker defined in workermap.properties.minimal # The general syntax for this file is: # [URL]=[Worker name] /*=wlb # # Mount jkstatus to /jkmanager # For production servers you will need to # secure the access to the /jkmanager url # /jkmanager=jkstatus Thank you Jean-Francois Beaulac [EMAIL PROTECTED] Jean-Francois Beaulac - VP Technologies mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] +1 514.598 0406 Beetext - http://www.beetext.com/ www.beetext.com Project Efficiency Solutions Check out our newsletter, The Hive - http://www.beetext.com/newsletter/apr07/index.html http://www.beetext.com/newsletter/apr07/index.html Lisez notre communiqué mensuel, La ruche - http://www.beetext.com/newsletter/apr07/index_fr.html http://www.beetext.com/newsletter/apr07/index_fr.html - 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: JK connector issue - Can't get JKStatus working with IIS 6.0
The Connector itselfs works perfectly, I just want to enable the JKStatus page that shows information about the workers and also allow to make changes at runtime to work. In the documentation I've seen specific configuration for Apache HTTPD to mount the JKStatus, but I could not find similar information for IIS. Thank you -Original Message- From: Milanez, Marcus [mailto:[EMAIL PROTECTED] Sent: May 11, 2007 4:01 PM To: Tomcat Users List Subject: RES: JK connector issue - Can't get JKStatus working with IIS 6.0 Hi Jean, I could succesfully integrate IIS 6 with Tomcat (also 6), and you really need an extra step to het it done: Note that in IIS 6, there is a new item named 'Web Service Extension'. Right click on it and then 'Add new Web Service Extension' . Name it jakarta and point it to your isapi_redirect.dll location. Doing that should solve your problem... Just let us know if it worked! Yours, Marcus -Mensagem original- De: Jean-Francois Beaulac [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 11 de maio de 2007 14:49 Para: users@tomcat.apache.org Assunto: JK connector issue - Can't get JKStatus working with IIS 6.0 Hi, I'm currently trying to get the JKStatus to work with the apache JK connector and IIS6.0. Is there some special configuration I have to do in IIS to get it working? The ajp13 connector works fine but I can't get the JKStatus page. It returns me a Tomcat 404 Http error, which is weird since from my understanding Tomcat should not be involved at all with the JKStatus. Here are my workers.properties uriworkermap.properties files: This is my workers.properties file # workers.properties # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with # worker.list=wlb,jkstatus # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8023 # # Defining a load balancer # worker.wlb.type=lb worker.wlb.balance_workers=ajp13w # # Define status worker # worker.jkstatus.type=status worket.jkstatus.mount=/jkmanager This is my uriworkermap.properties # uriworkermap.properties - IIS # # This file provides sample mappings for example wlb # worker defined in workermap.properties.minimal # The general syntax for this file is: # [URL]=[Worker name] /*=wlb # # Mount jkstatus to /jkmanager # For production servers you will need to # secure the access to the /jkmanager url # /jkmanager=jkstatus Thank you Jean-Francois Beaulac [EMAIL PROTECTED] Jean-Francois Beaulac - VP Technologies mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] +1 514.598 0406 Beetext - http://www.beetext.com/ www.beetext.com Project Efficiency Solutions Check out our newsletter, The Hive - http://www.beetext.com/newsletter/apr07/index.html http://www.beetext.com/newsletter/apr07/index.html Lisez notre communiqué mensuel, La ruche - http://www.beetext.com/newsletter/apr07/index_fr.html http://www.beetext.com/newsletter/apr07/index_fr.html - 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: JK connector issue - Can't get JKStatus working with IIS 6.0
Jean-Francois Beaulac wrote: The Connector itselfs works perfectly, I just want to enable the JKStatus page that shows information about the workers and also allow to make changes at runtime to work. In the documentation I've seen specific configuration for Apache HTTPD to mount the JKStatus, but I could not find similar information for IIS. I presume you have added in workers.properties ... worker.list=jkstatus,... ... worker.jkstatus.type=status Then inside uriworkermap.properties add something like: /one-very-fancy-manger=jkstatus Finally hitting the http://yourhost/one-very-fancy-manger will open you the whole new world :) 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]