Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 68151 invoked from network); 30 Nov 2005 19:54:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Nov 2005 19:54:17 -0000 Received: (qmail 85952 invoked by uid 500); 30 Nov 2005 19:53:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 85925 invoked by uid 500); 30 Nov 2005 19:53:47 -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 85902 invoked by uid 99); 30 Nov 2005 19:53:47 -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 11:53:46 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mgainty@hotmail.com designates 65.54.174.76 as permitted sender) Received: from [65.54.174.76] (HELO hotmail.com) (65.54.174.76) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2005 11:55:14 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 30 Nov 2005 11:53:23 -0800 Message-ID: Received: from 65.96.185.18 by BAY103-DAV4.phx.gbl with DAV; Wed, 30 Nov 2005 19:53:22 +0000 X-Originating-IP: [65.96.185.18] X-Originating-Email: [mgainty@hotmail.com] X-Sender: mgainty@hotmail.com Reply-To: "Martin Gainty" From: "Martin Gainty" To: "Tomcat Users List" References: Subject: Re: HTTP 404 error when mod_jk 1.2.15 connects apache 2.0.55 and tomcat 5.0.28 on unix Date: Wed, 30 Nov 2005 14:53:22 -0500 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-OriginalArrivalTime: 30 Nov 2005 19:53:23.0659 (UTC) FILETIME=[B8CC89B0:01C5F5E7] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Good Afternoon Blueberry- I have some excerpts from http://tomcat.apache.org/connectors-doc/howto/apache.html I would uninstall mod_jk, clean off the TOMCAT_HOME/conf/jk folder then reinstall mod_jk 1.2.15 following the doc: If you've previously configured Apache to use mod_jserv, remove any ApJServMount directives from your httpd.conf. If you're including tomcat-apache.conf or tomcat.conf, you'll want to remove them as well - they are specific to mod_jserv. Remember The mod_jserv configuration directives are not compatible with mod_jk ! assuming your TOMCAT is properly installed and your $TOMCAT_HOME/conf/server.xml has this entry where path specified by modJk is configured correctly (usually /usr/lib/apache) be sure to turn on automatic config option in Apache configuration file called httpd.conf e.g. #To be added at the end of your httpd.conf Include /var/tomcat3/conf/jk/mod_jk.conf-auto Then restart Tomcat and mod_jk.conf should be automatically generated be sure to read the docs for proper installation procedure HTH Martin- ----- Original Message ----- From: "blueberry lake" To: "Tomcat Users List" ; "Martin Gainty" Sent: Wednesday, November 30, 2005 1:19 PM Subject: Re: HTTP 404 error when mod_jk 1.2.15 connects apache 2.0.55 and tomcat 5.0.28 on unix Thanks for helping. http://localhost:7888/manager/html gives me the same HTTP 404 error. On 11/30/05, Martin Gainty wrote: > > Good Morning Blueberry > if you go to http://localhost:8081/manager/html > what happens when you Reload jsp-examples ? > Martin- > ----- Original Message ----- > From: "blueberry lake" > To: > Sent: Wednesday, November 30, 2005 10:39 AM > Subject: HTTP 404 error when mod_jk 1.2.15 connects apache 2.0.55 and > tomcat > 5.0.28 on unix > > > Hi all, > > I installed apache 2.0.55, tomcat 5.0.28, and mod_jk 1.2.15 on a > solaris 5.9unix machine. > Before I connected apache and tomcat, both of them work fine if I start > them > up as seperate servers. > Mod_jk is complied from source code and mod_jk.so is copied to > apache/modules/ > > > The connected system gives me the tomcat welcome page for URL > http://localhost:7888/ > ( I changed apache to listen to port 7888. ), which seems fine. The > problem > is that when > I access the URLs like http://localhost:7888/jsp-examples/, I got the > following error: > ===================== > HTTP 404 > > type Status report > > message /jsp-examples/ > > description The requested resource (/jsp-examples/) is not available. > > Apache/Tomcat 5.0.28 > ====================== > > > For tomcat, I comment out the 8080 port (http) so that to make sure it > stops > the http service and only handles the requests > on port 8009 from apache. That's the only modification I did in tomcat. > > For apache, I add workers.properties file and edit httpd.conf, both in > conf/ subdirectory. > The workers.properties is like: > ====================================== > workers.tomcat_home=/usr/local/jakarta-tomcat-5.0.28 > workers.java_home=/usr/j2sdk1.4.2_03 > ps=/ > worker.list=worker1 > > worker.worker1.port=8009 > worker.worker1.host=localhost > worker.worker1.type=ajp13 > worker.worker1.lbfactor=50 > ====================================== > > > > The httpd.conf has the following modification: > ======================================= > # > Listen 7888 > > # > LoadModule jk_module modules/mod_jk.so > > # > #config of mod_jk > # > JkWorkersFile /usr/local/apache2.0.55/conf/workers.properties > JkLogFile /usr/local/jakarta-tomcat-5.0.28/logs/mod_jk.log > JkLogLevel info > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " > JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories > JkRequestLogFormat "%w %V %T" > # > JkMount /* worker1 > JkMount /*/* worker1 > JkMount /*/*/* worker1 > JkMount /*/*/*/* worker1 > # > # End of mod_jk > > > Also the log files seem don't give me much useful info, for example, the > mod_jk.log file has the following line: > [Tue Nov 29 15:33:54 2005] worker1 [localhost] 0.089465 > > ANy suggestions are overwelcome! > > -b > > --------------------------------------------------------------------- > 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