Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 77749 invoked from network); 10 Nov 2001 01:36:51 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Nov 2001 01:36:51 -0000 Received: (qmail 21146 invoked by uid 97); 10 Nov 2001 01:36:18 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 21128 invoked by uid 97); 10 Nov 2001 01:36:17 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 21070 invoked from network); 10 Nov 2001 01:36:17 -0000 From: "Robert D. Morse" To: "Tomcat Users List" Subject: RE: I give up! Date: Fri, 9 Nov 2001 17:30:15 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The Invalid Virtual Host name was resolved by uncommenting the ServerName directive in httpd.conf. Now, trying to go to http://localhost/examples produces a Not Found error. -----Original Message----- From: Robert D. Morse [mailto:rmorse@mdesignz.com] Sent: Friday, November 09, 2001 5:12 PM To: Tomcat Users List Subject: RE: I give up! Hello Daniel! Thanks for the pointer. You're correct, the RPM had the wrong directory set, but that didn't fix the immediate problem that I'm facing. I made the changes as outlined by Henri Gomez (see below), however for the webapp mods, I now get a warning that the mod_webapp.so module may be compiled with the wrong flag (I guess this is normal), and a Invalid Virtual Host name at the WebAppConnection warpConnection warp localhost:8008 line in httpd.conf. So, that's where I'm at with this. Other suggestions? ===========From Henri================= You have installed tomcat4-4.0.1 rpms : http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/rpms/tomc at4-4.0.1-1.noarch.rpm http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/rpms/tomc at4-webapps-4.0.1-1.noarch.rpm If so you must have tomcat4 running as user tomcat4 and listening on port 8180 at least. Next you should use an Apache modules, which may be mod_jk or mod_webapp. ---------- - MOD_JK - ---------- use the TC 3.3 mod_jk http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/rpms/tomcat-mod -3.3-1.i386.rpm edit /etc/httpd/conf/httpd.conf : ---> JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile /var/log/httpd/mod_jk.log JkLogLevel error Alias /examples "/var/tomcat4/webapps/examples" Options Indexes FollowSymLinks MultiViews AllowOverride AuthConfig Order allow,deny Allow from all JkMount /examples/servlet/* ajp13 JkMount /examples/*.jsp ajp13 AllowOverride None deny from all Alias /admin "/var/tomcat4/webapps/admin" Options FollowSymLinks JkMount /admin/servlet/* ajp13 JkMount /admin/*.jsp ajp13 AllowOverride None deny from all <--- Then edit /etc/httpd/conf/workers.properties ---> workers.tomcat_home=/var/tomcat4 worker.list=ajp13 worker.ajp13.port=8109 !!! Nota PORT 8109 !!! worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 <---- Verify also the /var/tomcat4/conf/server.xml as Ajp13 enabled and nota THAT we LISTEN on PORT 8109 to avoid collision with running tomcat 3.2 or 3.3 !!!! Then test and me more :) -------------- - MOD_WEBAPP - -------------- For mod_webapp use the TC 4.0 mod_webapp (nothing new in 4.0.1) http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/rpms/mod_we bapp-1.0-1.i386.rpm Edit httpd.conf WebAppConnection warpConnection warp localhost:8008 WebAppDeploy ROOT warpConnection /tomcat/ WebAppDeploy examples warpConnection /examples/ -----Original Message----- From: Daniel Seyffer [mailto:tomcat@seyffer.de] Sent: Friday, November 09, 2001 2:56 PM To: Tomcat Users List Subject: Re: I give up! Hi Robert, In addition to previous comments: Also be sure to check /etc/passwd if the tomcat username and directory are correctly set to "tomcat4" and not to "tomcat". BTW: I've - more or less - successfully installed Apache 1.3.19 + Tomcat 4.0.1 mod_webapp on RedHat 7.1 using RPMS a few days ago after many wasted hours of troubleshooting and configuring. Greetings Daniel Seyffer ----- Original Message ----- From: "Robert D. Morse" To: "Tomcat Users List" Sent: Friday, November 09, 2001 7:05 PM Subject: I give up! > I'm trying to get Tomcat 4.0.1 and Apache running together under Redhat > Linux 7.2, and frankly I don't have the time or patience to rummage through > hundreds of e-mail messages, FAQs and How-Tos. I've managed to get prior > versions of Tomcat running, but this one baffles me (and seeing the over 500 > email messages in a few days, I don't think I'm alone). In any case, if > anyone is interested in helping, send me e-mail (rmorse@mdesignz.com) off > list and we'll work out a consulting arrangement. We're in So. California > so it might be better for someone close to reply. In turn, I'll pay whoever > helps me get this thing going, and I'll write up some steps for others who > are having as much fun as I am. > > Thanks. > > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > -- To unsubscribe: For additional commands: Troubles with the list: -- To unsubscribe: For additional commands: Troubles with the list: -- To unsubscribe: For additional commands: Troubles with the list: