mod_jk.conf and ajp13
Hello! I want to use ajp13 (not ajp12). I'm using Windows 2000 server and tomcat 3.2.1 I have declared into mod_jk.conf following lines: LoadModule jk_module modules/mod_jk.dll IfModule mod_jk.c JkWorkersFile fill-path-to/workers.properties JkLogFile logs/jk.log JkLogLevel warn JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /examples/* ajp13 /IfModule But when tomcat is started then i can see in mod_jk.conf-auto following lines: ... JkMount /*.jsp ajp12 JkMount /servlet/* ajp12 JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 How it is possible? I declared ajp13?? Many thanx! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk.conf and ajp13
Hello, did you uncommented the following lines in server.xml? !-- Apache AJP13 support. This is also used to shut down tomcat. -- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp13ConnectionHandler/ Parameter name=port value=8009/ /Connector and your workers.properties has something similar to the following lines: worker.list=ajp12, ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.loadbalancer.balanced_workers=ajp12, ajp13 Hope this helps. - Original Message - From: Erki Kriks [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 9:49 AM Subject: mod_jk.conf and ajp13 Hello! I want to use ajp13 (not ajp12). I'm using Windows 2000 server and tomcat 3.2.1 I have declared into mod_jk.conf following lines: LoadModule jk_module modules/mod_jk.dll IfModule mod_jk.c JkWorkersFile fill-path-to/workers.properties JkLogFile logs/jk.log JkLogLevel warn JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /examples/* ajp13 /IfModule But when tomcat is started then i can see in mod_jk.conf-auto following lines: ... JkMount /*.jsp ajp12 JkMount /servlet/* ajp12 JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 How it is possible? I declared ajp13?? Many thanx! - 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: mod_jk.conf and ajp13
Hi! Thank you for your help! I have the same configuration. But why are you using worker.list=ajp12, ajp13 instead of worker.list=ajp13 , while ajp13 is only required? It's very interesting, all auto-configuration files includes only ajp12 (instead of ajp13)? But nowhere ajp12 is declared, only ajp13 is used :-) Hello, did you uncommented the following lines in server.xml? !-- Apache AJP13 support. This is also used to shut down tomcat. -- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp13ConnectionHandler/ Parameter name=port value=8009/ /Connector and your workers.properties has something similar to the following lines: worker.list=ajp12, ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.loadbalancer.balanced_workers=ajp12, ajp13 Hope this helps. - Original Message - From: Erki Kriks [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 9:49 AM Subject: mod_jk.conf and ajp13 Hello! I want to use ajp13 (not ajp12). I'm using Windows 2000 server and tomcat 3.2.1 I have declared into mod_jk.conf following lines: LoadModule jk_module modules/mod_jk.dll IfModule mod_jk.c JkWorkersFile fill-path-to/workers.properties JkLogFile logs/jk.log JkLogLevel warn JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /examples/* ajp13 /IfModule But when tomcat is started then i can see in mod_jk.conf-auto following lines: ... JkMount /*.jsp ajp12 JkMount /servlet/* ajp12 JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 How it is possible? I declared ajp13?? Many thanx! - 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: mod_jk.conf and ajp13
Hi! I suppose ajp12 is used in tomcat 3.2.1 to shutdown Tomcat, so it's still required. If you're still having trouble, you'd check which mod_jk configuration file is used to configure mod_jk: every time Tomcat restarts, it creates a new auto-config files, which, as you noted, declares to use only ajp12. You should tell httpd-server to use your mod_jk configuration file. (i.e. in Apache, you'd modify the last line of httpd.conf in include /tomcat-MY_mod_jk.conf ) - Original Message - From: Erki Kriks [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 11:08 AM Subject: Re: mod_jk.conf and ajp13 Hi! Thank you for your help! I have the same configuration. But why are you using worker.list=ajp12, ajp13 instead of worker.list=ajp13 , while ajp13 is only required? It's very interesting, all auto-configuration files includes only ajp12 (instead of ajp13)? But nowhere ajp12 is declared, only ajp13 is used :-) Hello, did you uncommented the following lines in server.xml? !-- Apache AJP13 support. This is also used to shut down tomcat. -- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp13ConnectionHandler/ Parameter name=port value=8009/ /Connector and your workers.properties has something similar to the following lines: worker.list=ajp12, ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.loadbalancer.balanced_workers=ajp12, ajp13 Hope this helps. - Original Message - From: Erki Kriks [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 9:49 AM Subject: mod_jk.conf and ajp13 Hello! I want to use ajp13 (not ajp12). I'm using Windows 2000 server and tomcat 3.2.1 I have declared into mod_jk.conf following lines: LoadModule jk_module modules/mod_jk.dll IfModule mod_jk.c JkWorkersFile fill-path-to/workers.properties JkLogFile logs/jk.log JkLogLevel warn JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /examples/* ajp13 /IfModule But when tomcat is started then i can see in mod_jk.conf-auto following lines: ... JkMount /*.jsp ajp12 JkMount /servlet/* ajp12 JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 How it is possible? I declared ajp13?? Many thanx! - 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]
mod_jk.conf-auto + ajp13
Hi, I went through the archives, and saw this same question asked a number of times, but no satisfactory responses. An auto generated conf is nice to have (especially as it remembers to include all those little details us poor humans sometimes forget) except that it always specifies the ajp12 connector and the documentation gives several good reasons why we ought to use ajp13. Other than not using it at all or modifying the ApacheConfig.java source (which if I were a more experienced java hacker, I might tackle), is there any other option -- i.e., an environment variable or a setting in server.xml, etc? If not, does anybody know if the development team plans to release a solution in the near future? -- Rob _ _ _ _ __ _ _ _ _ /\_\_\_\_\/\_\ /\_\_\_\_\_\ /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT, /\/_/__\/_/ __/\/_//\/_/ PROFUNDUM VIDITUR /\/_/_/_/_/ /\_\ /\/_//\/_/ /\/_/ \/_/ /\/_/_/\/_//\/_/ (Whatever is said in Latin \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound) Rob Tanner McMinnville, Oregon [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: mod_jk.conf-auto + ajp13
Make the change in mod_jk.conf #JkMount /*.jsp ajp12 #JkMount /servlet/* ajp12 #JkMount /examples/* ajp12 JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /examples/* ajp13 Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: mod_jk.conf-auto + ajp13
That's what I've been doing -- I don't use mod_jk.conf-auto at all. The point is that I have to maintain another file by hand that I shouldn't have to, a file almost exactly identical to mod_jk.conf-auto other than specifying the ajp13 connector. Is there a way to get mod_jk.conf-auto to use ajp13 by default, otherwise, what's the purpose of the conf-auto file in the first place? -- Rob --On Sunday, February 11, 2001 04:34:03 PM -0500 Rick Roberts [EMAIL PROTECTED] wrote: Make the change in mod_jk.conf #JkMount /*.jsp ajp12 #JkMount /servlet/* ajp12 #JkMount /examples/* ajp12 JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /examples/* ajp13 Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] _ _ _ _ __ _ _ _ _ /\_\_\_\_\/\_\ /\_\_\_\_\_\ /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT, /\/_/__\/_/ __/\/_//\/_/ PROFUNDUM VIDITUR /\/_/_/_/_/ /\_\ /\/_//\/_/ /\/_/ \/_/ /\/_/_/\/_//\/_/ (Whatever is said in Latin \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound) Rob Tanner McMinnville, Oregon [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: mod_jk.conf-auto + ajp13
I understand what you are saying, but you only need manually update the auto config file when you actually add a new web app. Up until that point the regenerated config file remains constant. You don't even need to touch it while you are revising an existing app. Further, you could run Tomcat stand alone, debug any new app, then just before putting it into production (with Apache) you would manually alter the auto config file. Having said that (which you may already know), I know of no way to accomplish what you are suggesting. Given Apache's recommendation to use ajp13 it would seem that the auto config file should be generated that way. Tom -- Tom Woteki, a.k.a. Dr. Wo mail to:[EMAIL PROTECTED] 202-544-2743 (fax) http://www.woteki.com/wines -- a pure Java, Apache-Tomcat web application running under MacOSX From: Rob Tanner [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Sun, 11 Feb 2001 17:55:17 -0500 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: mod_jk.conf-auto + ajp13 That's what I've been doing -- I don't use mod_jk.conf-auto at all. The point is that I have to maintain another file by hand that I shouldn't have to, a file almost exactly identical to mod_jk.conf-auto other than specifying the ajp13 connector. Is there a way to get mod_jk.conf-auto to use ajp13 by default, otherwise, what's the purpose of the conf-auto file in the first place? -- Rob --On Sunday, February 11, 2001 04:34:03 PM -0500 Rick Roberts [EMAIL PROTECTED] wrote: Make the change in mod_jk.conf #JkMount /*.jsp ajp12 #JkMount /servlet/* ajp12 #JkMount /examples/* ajp12 JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /examples/* ajp13 Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] _ _ _ _ __ _ _ _ _ /\_\_\_\_\/\_\ /\_\_\_\_\_\ /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT, /\/_/__\/_/ __/\/_//\/_/ PROFUNDUM VIDITUR /\/_/_/_/_/ /\_\ /\/_//\/_/ /\/_/ \/_/ /\/_/_/\/_//\/_/ (Whatever is said in Latin \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound) Rob Tanner McMinnville, Oregon [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]