Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 54139 invoked from network); 29 Nov 2005 22:39:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Nov 2005 22:39:13 -0000 Received: (qmail 96862 invoked by uid 500); 29 Nov 2005 22:38:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 96822 invoked by uid 500); 29 Nov 2005 22:38:49 -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 96749 invoked by uid 99); 29 Nov 2005 22:38:48 -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 14:38:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of blueberrylake@gmail.com designates 64.233.184.203 as permitted sender) Received: from [64.233.184.203] (HELO wproxy.gmail.com) (64.233.184.203) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 14:40:18 -0800 Received: by wproxy.gmail.com with SMTP id i11so2553039wra for ; Tue, 29 Nov 2005 14:38:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=L6etYv6b176v1y67zaM8/mGgX8TVF0tslnkS7ZYt4nx81CiTS8vZk2brEIAph9QFOPM7lLX0ac+O8yoANcYmDH/4ccaotImsVXaPn1H7ZauxWqN3yi5rmi0RgtrGh9B+3mFFihWcKzoAQ/axNC8Q74zeCef46rdM/6NMirZYQtQ= Received: by 10.54.151.6 with SMTP id y6mr6471283wrd; Tue, 29 Nov 2005 14:38:27 -0800 (PST) Received: by 10.54.147.10 with HTTP; Tue, 29 Nov 2005 14:38:26 -0800 (PST) Message-ID: Date: Tue, 29 Nov 2005 17:38:26 -0500 From: blueberry lake To: users@tomcat.apache.org Subject: HTTP 404 error when mod_jk 1.2.15 connects apache 2.0.55 and tomcat 5.0.28 on unix MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1094_15687702.1133303906940" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_1094_15687702.1133303906940 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline (sorry if I send this message twice, I didn't get the first one) 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 the= m 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: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D HTTP 404 type Status report message /jsp-examples/ description The requested resource (/jsp-examples/) is not available. Apache/Tomcat 5.0.28 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D For tomcat, I comment out the 8080 port (http) so that to make sure it stop= s 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: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D workers.tomcat_home=3D/usr/local/jakarta-tomcat-5.0.28 workers.java_home=3D/usr/j2sdk1.4.2_03 ps=3D/ worker.list=3Dworker1 worker.worker1.port=3D8009 worker.worker1.host=3Dlocalhost worker.worker1.type=3Dajp13 worker.worker1.lbfactor=3D50 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The httpd.conf has the following modification: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # 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 ------=_Part_1094_15687702.1133303906940--