Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 46646 invoked from network); 30 Nov 2005 02:24:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Nov 2005 02:24:40 -0000 Received: (qmail 73797 invoked by uid 500); 30 Nov 2005 02:24:25 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 73775 invoked by uid 500); 30 Nov 2005 02:24:24 -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 73764 invoked by uid 99); 30 Nov 2005 02:24:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 18:24:24 -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.162.197 as permitted sender) Received: from [64.233.162.197] (HELO zproxy.gmail.com) (64.233.162.197) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 18:25:54 -0800 Received: by zproxy.gmail.com with SMTP id 13so1285584nzp for ; Tue, 29 Nov 2005 18:24:02 -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=kExgLlBNAaWclXaW54iclq2Nk2yh0SdXxcOR9NJxlDkmVYkJ3RzArM8v0ghkGxAH07U+l9GmDu0FHT4m3jpMp+S1uT4N6OPPj7W7rSOdK9KYacEEFF/PhGxlfFiIKA6qYgJdKKI/hMU9zqXp4VBnwgHfhz7L6dIe0KcMexT+7FQ= Received: by 10.65.75.6 with SMTP id c6mr1183881qbl; Tue, 29 Nov 2005 18:24:02 -0800 (PST) Received: from PC ( [213.161.13.115]) by mx.gmail.com with ESMTP id q19sm839228qbq.2005.11.29.18.24.01; Tue, 29 Nov 2005 18:24:02 -0800 (PST) Message-ID: <042001c5f555$1c309b60$0a00a8c0@PC> From: "Luka Andrejasic" To: "Tomcat Users List" References: <021201c5f545$a29ace10$0a00a8c0@PC> Subject: Re: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9) Date: Wed, 30 Nov 2005 03:23:52 +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 "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