Re: AGAIN jk2 2.0.4 compile
On Thu, Apr 01, 2004 at 06:40:24PM +0100, Dale, Matt wrote: I think that using JK2 with apache 1.3 is unsupported and that you should either use the JK connector or upgrade to apache 2. Is this correct? I'm planning to use mod_jk2 with Apache 1.3.29 and Tomcat 4.1.29 in a production environment and would appreciate it if someone could confirm whether it is supported. G -- The art of taxation consists of plucking the goose so as to obtain the most feathers with the least hissing. -- Jean-Baptiste Colbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AGAIN jk2 2.0.4 compile
I just did this today, look for the apr libs in /usr/local/apache/lib directory and complile with ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-apr-lib=/usr/local/apache/lib \ --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \ --with-java-home=/usr/local/j2sdk \ --with-jni see http://www.connecties.com/cymulacrum/tomcat5/book1.html if you need any more help Ta Matt -Original Message- From: Giorgio Ponza [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 15:53 To: Tomcat Users List Subject: AGAIN jk2 2.0.4 compile hi all again :D I am trying to build tomcat connector 2.0.4 from source. I've read maby howto etc, but i didn't succeed. I installed apache 2.0.49 with --enable-so option Also tomcat 5.0.19. I am working on RH 9. I installed apr 0.9.4 in /usr/local/apr-0.9.4 and apr-util in /usr/local/apr-util-0.9.4 If i use the line ./configure --with-apx2=/usr/local/apache2049 it says: configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util OK, so i set also that 2 options and i obtain configure: error: Use apr that comes with Apache 2, remove --with-apr OK again i tried to follow some FAQ suggestions like ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-apr=/usr/local/src/apr-0.9.4 --with-apr-util=/usr/local/src/apr-util-0.9.4 with an error configure: error: Use apr that comes with Apache 2, remove --with-apr and many others, mixed and remixed do you have some advices? i'm not really good with linux, have i to installa apxs from a source different than apache2049? TX a lot Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AGAIN jk2 2.0.4 compile
I cut and paste that from the command line, remember to take out the at the beginning of the lines -Original Message- From: Dale, Matt Sent: 01 April 2004 16:48 To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: AGAIN jk2 2.0.4 compile I just did this today, look for the apr libs in /usr/local/apache/lib directory and complile with ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-apr-lib=/usr/local/apache/lib \ --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \ --with-java-home=/usr/local/j2sdk \ --with-jni see http://www.connecties.com/cymulacrum/tomcat5/book1.html if you need any more help Ta Matt -Original Message- From: Giorgio Ponza [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 15:53 To: Tomcat Users List Subject: AGAIN jk2 2.0.4 compile hi all again :D I am trying to build tomcat connector 2.0.4 from source. I've read maby howto etc, but i didn't succeed. I installed apache 2.0.49 with --enable-so option Also tomcat 5.0.19. I am working on RH 9. I installed apr 0.9.4 in /usr/local/apr-0.9.4 and apr-util in /usr/local/apr-util-0.9.4 If i use the line ./configure --with-apx2=/usr/local/apache2049 it says: configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util OK, so i set also that 2 options and i obtain configure: error: Use apr that comes with Apache 2, remove --with-apr OK again i tried to follow some FAQ suggestions like ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-apr=/usr/local/src/apr-0.9.4 --with-apr-util=/usr/local/src/apr-util-0.9.4 with an error configure: error: Use apr that comes with Apache 2, remove --with-apr and many others, mixed and remixed do you have some advices? i'm not really good with linux, have i to installa apxs from a source different than apache2049? TX a lot Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AGAIN jk2 2.0.4 compile
Dale, Matt ha scritto: I just did this today, look for the apr libs in /usr/local/apache/lib directory and complile with ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-apr-lib=/usr/local/apache/lib \ --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \ --with-java-home=/usr/local/j2sdk \ --with-jni I've done it, but the error continues to be: configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util I have downgraded to 2.0.2 until i will have more time to try again. see http://www.connecties.com/cymulacrum/tomcat5/book1.html if you need any more help ohh, was the first one i looked at. Tx a lot for the help Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AGAIN jk2 2.0.4 compile
It seems to think you are using apache 1.3, is the install of apache that you have at /usr/local/apache the version of apache 2 you just built? -Original Message- From: Giorgio Ponza [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 17:02 To: Tomcat Users List Subject: Re: AGAIN jk2 2.0.4 compile Dale, Matt ha scritto: I just did this today, look for the apr libs in /usr/local/apache/lib directory and complile with ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-apr-lib=/usr/local/apache/lib \ --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \ --with-java-home=/usr/local/j2sdk \ --with-jni I've done it, but the error continues to be: configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util I have downgraded to 2.0.2 until i will have more time to try again. see http://www.connecties.com/cymulacrum/tomcat5/book1.html if you need any more help ohh, was the first one i looked at. Tx a lot for the help Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AGAIN jk2 2.0.4 compile
I have apache 1.3, do I have to recompile it to use jk2? Dale, Matt wrote: It seems to think you are using apache 1.3, is the install of apache that you have at /usr/local/apache the version of apache 2 you just built? -Original Message- From: Giorgio Ponza [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 17:02 To: Tomcat Users List Subject: Re: AGAIN jk2 2.0.4 compile Dale, Matt ha scritto: I just did this today, look for the apr libs in /usr/local/apache/lib directory and complile with ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-apr-lib=/usr/local/apache/lib \ --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \ --with-java-home=/usr/local/j2sdk \ --with-jni I've done it, but the error continues to be: configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util I have downgraded to 2.0.2 until i will have more time to try again. see http://www.connecties.com/cymulacrum/tomcat5/book1.html if you need any more help ohh, was the first one i looked at. Tx a lot for the help Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AGAIN jk2 2.0.4 compile
I think that using JK2 with apache 1.3 is unsupported and that you should either use the JK connector or upgrade to apache 2. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 18:04 To: Tomcat Users List Subject: Re: AGAIN jk2 2.0.4 compile I have apache 1.3, do I have to recompile it to use jk2? Dale, Matt wrote: It seems to think you are using apache 1.3, is the install of apache that you have at /usr/local/apache the version of apache 2 you just built? -Original Message- From: Giorgio Ponza [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 17:02 To: Tomcat Users List Subject: Re: AGAIN jk2 2.0.4 compile Dale, Matt ha scritto: I just did this today, look for the apr libs in /usr/local/apache/lib directory and complile with ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-apr-lib=/usr/local/apache/lib \ --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \ --with-java-home=/usr/local/j2sdk \ --with-jni I've done it, but the error continues to be: configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util I have downgraded to 2.0.2 until i will have more time to try again. see http://www.connecties.com/cymulacrum/tomcat5/book1.html if you need any more help ohh, was the first one i looked at. Tx a lot for the help Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AGAIN jk2 2.0.4 compile
I'm trying to use jk 1.2.5 but it doesn't work either this is the log from mod_jk... it finds the mapping, but not the worker... please, this is sttoping me to upgrade to tomcat5. elbassan:/home/emersonc # cat /home/emersonc/jakarta-tomcat-5.0.19_new/logs/mod_jk.log [Thu Apr 01 15:38:50 2004] [jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Thu Apr 01 15:38:50 2004] [jk_uri_worker_map.c (375)]: Into jk_uri_worker_map_t::uri_worker_map_open [Thu Apr 01 15:38:50 2004] [jk_uri_worker_map.c (396)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 2 [Thu Apr 01 15:38:50 2004] [jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::uri_worker_map_open, exact rule /sgip=ajp13 was added [Thu Apr 01 15:38:50 2004] [jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /sgip/=ajp13 was added [Thu Apr 01 15:38:50 2004] [jk_uri_worker_map.c (408)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 2 rules [Thu Apr 01 15:38:50 2004] [jk_uri_worker_map.c (422)]: jk_uri_worker_map_t::uri_worker_map_open, done [Thu Apr 01 15:38:50 2004] [jk_worker.c (88)]: Into wc_open [Thu Apr 01 15:38:50 2004] [jk_worker.c (222)]: Into build_worker_map, creating 1 workers [Thu Apr 01 15:38:50 2004] [jk_worker.c (228)]: build_worker_map, creating worker worker1 [Thu Apr 01 15:38:50 2004] [jk_worker.c (148)]: Into wc_create_worker [Thu Apr 01 15:38:50 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance worker1 of ajp13 [Thu Apr 01 15:38:50 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Thu Apr 01 15:38:50 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init worker1 [Thu Apr 01 15:38:50 2004] [jk_ajp_common.c (1343)]: Into jk_worker_t::validate [Thu Apr 01 15:38:50 2004] [jk_ajp_common.c (1364)]: In jk_worker_t::validate for worker worker1 contact is 10.9.7.58:8009 [Thu Apr 01 15:38:50 2004] [jk_ajp_common.c (1397)]: Into jk_worker_t::init [Thu Apr 01 15:38:50 2004] [jk_ajp_common.c (1421)]: In jk_worker_t::init, setting socket timeout to 300 [Thu Apr 01 15:38:50 2004] [jk_worker.c (187)]: wc_create_worker, done [Thu Apr 01 15:38:50 2004] [jk_worker.c (238)]: build_worker_map, removing old worker1 worker [Thu Apr 01 15:38:50 2004] [jk_worker.c (250)]: build_worker_map, done [Thu Apr 01 15:38:50 2004] [jk_worker.c (111)]: wc_open, done 1 [Thu Apr 01 15:38:55 2004] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Apr 01 15:38:55 2004] [jk_uri_worker_map.c (500)]: Attempting to map URI '/sgip' [Thu Apr 01 15:38:55 2004] [jk_uri_worker_map.c (514)]: jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ajp13 - /sgip [Thu Apr 01 15:38:55 2004] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Thu Apr 01 15:38:55 2004] [jk_worker.c (136)]: wc_get_worker_for_name, done did not found a worker worker.properties: worker.list=worker1 workers.apache_log=/var/log/httpd/ # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=10.9.7.58 worker.worker1.port=8009 worker.worker1.lbfactor=50 worker.worker1.cachesize=10 worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1 worker.worker1.socket_timeout=300 Dale, Matt wrote: I think that using JK2 with apache 1.3 is unsupported and that you should either use the JK connector or upgrade to apache 2. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 18:04 To: Tomcat Users List Subject: Re: AGAIN jk2 2.0.4 compile I have apache 1.3, do I have to recompile it to use jk2? Dale, Matt wrote: It seems to think you are using apache 1.3, is the install of apache that you have at /usr/local/apache the version of apache 2 you just built? -Original Message- From: Giorgio Ponza [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 17:02 To: Tomcat Users List Subject: Re: AGAIN jk2 2.0.4 compile Dale, Matt ha scritto: I just did this today, look for the apr libs in /usr/local/apache/lib directory and complile with ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-apr-lib=/usr/local/apache/lib \ --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \ --with-java-home=/usr/local/j2sdk \ --with-jni I've done it, but the error continues to be: configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util I have downgraded to 2.0.2 until i will have more time to try again. see http://www.connecties.com/cymulacrum/tomcat5/book1.html if you need any more help ohh, was the first one i looked at. Tx a lot for the help Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E
Re: AGAIN jk2 2.0.4 compile
You shouldn't need to have APR, since it is included in apache 2.0.49. Here, I will try to duplicate your issue. I have a system running Redhat 9. cd /home/wtruitt/src gzip -cd ../downloads/httpd-2.0.49.tar.gz | tar xf - cd httpd-2.0.49 sh configure --prefix=/usr/local/apache2049 --enable-so make su -c 'make install' su - cd /usr/local gzip -cd /home/wtruitt/downloads/jakarta-tomcat-5.0.19.tar.gz | tar xf - chown -R wtruitt:wtruitt jakarta-tomcat-5.0.19 exit cd /home/wtruitt/src gzip -cd ../downloads/jakarta-tomcat-connectors-jk2-src-2.0.4.tar.gz | tar xf - cd jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2 sh configure --with-apxs2=/usr/local/apach2049/bin/apxs make cd .. su -c 'cp -p build/jk2/apache2/mod_jk2.so /usr/local/apache2049/modules' cd /usr/local/jakarta-tomcat-5.0.19 bin/startup.sh su - cd /usr/local/apache2049/conf # create workers2.properties cat EOF workers2.properties [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/servlets-examples/*] worker=ajp13:localhost:8009 EOF # edit httpd.conf to add the following line LoadModule jk2_module modules/mod_jk2.so This worked for me. I will have to look into the jni stuff that someone else mentioned. -walter From: Giorgio Ponza [EMAIL PROTECTED] Subject: AGAIN jk2 2.0.4 compile Date: Thu, 01 Apr 2004 16:53:05 +0200 hi all again :D I am trying to build tomcat connector 2.0.4 from source. I've read maby howto etc, but i didn't succeed. I installed apache 2.0.49 with --enable-so option Also tomcat 5.0.19. I am working on RH 9. I installed apr 0.9.4 in /usr/local/apr-0.9.4 and apr-util in /usr/local/apr-util-0.9.4 If i use the line ./configure --with-apx2=/usr/local/apache2049 it says: configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util OK, so i set also that 2 options and i obtain configure: error: Use apr that comes with Apache 2, remove --with-apr OK again i tried to follow some FAQ suggestions like ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-apr=/usr/local/src/apr-0.9.4 --with-apr-util=/usr/local/src/apr-util-0.9.4 with an error configure: error: Use apr that comes with Apache 2, remove --with-apr and many others, mixed and remixed do you have some advices? i'm not really good with linux, have i to installa apxs from a source different than apache2049? TX a lot Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]