Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 85456 invoked from network); 10 Nov 2001 07:38:10 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Nov 2001 07:38:10 -0000 Received: (qmail 22915 invoked by uid 97); 10 Nov 2001 07:37:50 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 22899 invoked by uid 97); 10 Nov 2001 07:37:50 -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 22888 invoked from network); 10 Nov 2001 07:37:49 -0000 Message-ID: <000b01c169ba$5cc85170$0a0a0a0a@daniel> From: "Daniel Seyffer" To: "Tomcat Users List" References: Subject: Re: I give up! Date: Sat, 10 Nov 2001 08:36:01 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 x-mimeole: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello Robert, Did you also try http://localhost/examples/ ? (notice examples/) For me "http://localhost/examples" doesn't work, but /examples/ does. I'm not sure if this is just a specific problem that I'm facing, (because of wrong configuration or whatever) As far as I can see modwebapp (?) doesn't seem to be able to "detect" that examples is actually a directory served by tomcat and redirect the user... (?) ----- Original Message ----- From: "Robert D. Morse" To: "Tomcat Users List" Sent: Saturday, November 10, 2001 2:30 AM Subject: RE: I give up! > 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 !!!! > > > port="8109" minProcessors="5" maxProcessors="75" > acceptCount="10" debug="0"/> > > > 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: > -- To unsubscribe: For additional commands: Troubles with the list: