Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 54499 invoked from network); 30 Nov 2005 16:38:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Nov 2005 16:38:32 -0000 Received: (qmail 1642 invoked by uid 500); 30 Nov 2005 16:38:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 1612 invoked by uid 500); 30 Nov 2005 16:38:15 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 1601 invoked by uid 99); 30 Nov 2005 16:38:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2005 08:38:15 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of luka.andrejasic@gmail.com designates 64.233.184.206 as permitted sender) Received: from [64.233.184.206] (HELO wproxy.gmail.com) (64.233.184.206) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2005 08:39:42 -0800 Received: by wproxy.gmail.com with SMTP id i11so139151wra for ; Wed, 30 Nov 2005 08:37:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:from:to:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=TPCLHBYfdKDcGvA7pL7/5stwAWGS/4BklS/V2lcx1fKKj8vW+hJ8t6ewQujt1QowV9a1G5An/+gEqZxL65WLwPLLF6ekOTX8mmu1f1r0/yv21vC+KauizbCEH1gfZar9/XWOfv7MD+BLx91nOiy938tPbiDMSG6TyCsOAnY4cgM= Received: by 10.54.137.16 with SMTP id k16mr681044wrd; Wed, 30 Nov 2005 08:37:50 -0800 (PST) Received: from PC ( [213.161.13.115]) by mx.gmail.com with ESMTP id 67sm440688wra.2005.11.30.08.37.49; Wed, 30 Nov 2005 08:37:50 -0800 (PST) Message-ID: <001301c5f5cc$61465560$0a00a8c0@PC> From: "Luka Andrejasic" To: "Tomcat Users List" References: <1C436BE656E9BE44AE992327327430918DDFC2@hqmsg02.mcdonaldbradley.local> Subject: Re: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9) Date: Wed, 30 Nov 2005 17:37:28 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the assistance Nick. I think the connector is alreary defined in the current configuration. Perhaps you overlooked that line : Should I delete this one and try yours? The same error occured when they were placed side by side (yours on top). Thanks for helping. Luka ----- Original Message ----- From: "Duan, Nick" To: "Tomcat Users List" Sent: Wednesday, November 30, 2005 3:58 PM Subject: RE: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9) Well, the log msg is complaining about not able to find the worker. Apparently your tomcat wasn't configured for listening to ajp13 request from httpd. A connector entry for ajp13 should be added to server.xml file. At least it was not listed in your email. ND -----Original Message----- From: Luka Andrejasic [mailto:luka.andrejasic@gmail.com] Sent: Tuesday, November 29, 2005 9:24 PM To: Tomcat Users List Subject: Re: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9) "I remember workers.properties is located in apache/conf/, the same directory with httpd.conf.." The file workers.properties is located under Tomcat`s conf directory, not Apache`s. In workers.properties I only have the following and that should be enough : worker.list=ajp13w worker.ajp13w.port=8009 worker.ajp13w.host=localhost worker.ajp13w.type=ajp13 worker.ajp13w.cachesize=10 worker.ajp13w.cache_timeout=1200 worker.ajp13w.socket_timeout=3600 Any other idea what else it might be? Thanks for the reply and trying to help. Luka ----- Original Message ----- From: "blueberry lake" To: "Tomcat Users List" Sent: Wednesday, November 30, 2005 3:06 AM Subject: Re: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9) Since I am a new user of mod_jk, please correct me if I am wrong. In your apache httpd.conf, you set: "JkWorkersFile "/var/tomcat/conf/workers.properties" I remember workers.properties is located in apache/conf/, the same directory with httpd.conf.. And, do you indicate the location of tomcat in workers.properties, such as workers.tomcat_home=/.../tomcat/? -b On 11/29/05, Luka Andrejasic wrote: > > Hello guys, > > I am trying to figure this one out for weeks. Nothing seems to work and I > am running out of ideas. The problem seems to be with Mod JK, as Apache > and > Tomcat work without problems on their own. > > Below are all the main configuration files, as well as the error log (at > the bottom) : > > // System Configuration : > > - OS : RedHat Linux ES 4.0 (2.6.9-22.0.1) > - Apache : 2.0.52 > - Tomcat : 5.5.9 > - MySQL : 4.1.12 > - Mod JK : 1.2.15 > > > > > // Mod JK Installation : > > tar -xzf jakarta-tomcat-connectors-jk-1.2.15-src.tar.gz > cd jakarta-tomcat-connectors-jk-1.2.15-src > cd jk > cd native > ./buildconf.sh > ./configure --enable-EAPI --with-apxs=/usr/sbin/apxs > make > make install > > cp ./apache-2.0/mod_jk.so /etc/httpd/modules > > > > > // Apache Virtual Domains : > > NameVirtualHost *:80 > > > > ServerAdmin webmaster@domain.com > DocumentRoot /var/tomcat/webapps/ROOT > ServerName domain.com > ServerAlias server.domain.com > ErrorLog /home/virtual/domain.com/logs/error_log > CustomLog /home/virtual/domain.com/logs/access_log combined > > > Options Indexes FollowSymLinks > DirectoryIndex index.jsp index.html index.htm > > > AllowOverride None > deny from all > > > > AllowOverride None > deny from all > > > JkWorkersFile "/var/tomcat/conf/workers.properties" > JkShmFile "/var/tomcat/conf/shm.file" > JkLogFile /var/tomcat/logs/mod_jk.txt > JkLogLevel info > JkAutoAlias /var/tomcat/webapps/ROOT > > JkMount /backup/* ajp13w > JkMount /config/* ajp13w > JkMount /files/* ajp13w > JkMount /logs/* ajp13w > JkMount /servlet/* ajp13w > JkMount /sql/* ajp13w > JkMount /temp/* ajp13w > JkMount /*.jsp ajp13w > > > > > > > > // File server.xml : > > debug="0" > port="8005" > shutdown="SHUTDOWN"> > > debug="0"/> > > debug="0"/> > > debug="0"/> > > > auth="Container" > type="org.apache.catalina.UserDatabase" > description="User database that can be updated and saved" > factory="org.apache.catalina.users.MemoryUserDatabaseFactory > " > pathname="conf/tomcat-users.xml"/> > > > debug="0" > name="Catalina"> > > className="org.apache.coyote.tomcat5.CoyoteConnector" > connectionTimeout="20000" > debug="0" > enableLookups="false" > minProcessors="32" > maxProcessors="384" > port="8009" > protocolHandlerClassName=" > org.apache.jk.server.JkCoyoteHandler" > protocol="AJP/1.3" > redirectPort="8443" > useURIValidationHack="false"/> > > debug="0" > defaultHost="server.domain.com" > mapperClass="org.apache.catalina.core.StandardEngineMapper" > name="Catalina"> > > appBase="webapps" > autoDeploy="true" > debug="0" > name="server.domain.com" > unpackWARS="true" > xmlValidation="false" > xmlNamespaceAware="false"> > > cookies="true" > crossContext="false" > debug="0" > docBase="ROOT" > mapperClass=" > org.apache.catalina.core.StandardContextMapper" > path="" > privileged="false" > reloadable="false" > swallowOutput="true" > useNaming="true" > wrapperClass="org.apache.catalina.core.StandardWrapper"/> > > > > debug="0" > resourceName="UserDatabase"/> > > > > > > > > > > > // File workers.properties : > > worker.list=ajp13w > worker.ajp13w.port=8009 > worker.ajp13w.host=localhost > worker.ajp13w.type=ajp13 > worker.ajp13w.cachesize=10 > worker.ajp13w.cache_timeout=1200 > worker.ajp13w.socket_timeout=3600 > > > > > // File mod_jk.txt (Log File) : > > [Tue Nov 29 18:39:57 2005] [info] jk_handler::mod_jk.c (1993): Could not > find a worker for worker name=ajp13w > > > > > If you need anything else in order to pinpoint the problem, please tell me > and I will provide it right away. I really hope someone can help me with > this. > > Have a great day. > > Best Regards, > Luka Andrejasic > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org