Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 55515 invoked from network); 10 Feb 2004 04:24:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Feb 2004 04:24:14 -0000 Received: (qmail 67231 invoked by uid 500); 10 Feb 2004 04:23:19 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 67155 invoked by uid 500); 10 Feb 2004 04:23:19 -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 67087 invoked from network); 10 Feb 2004 04:23:18 -0000 Received: from unknown (HELO lakemtao03.cox.net) (68.1.17.242) by daedalus.apache.org with SMTP; 10 Feb 2004 04:23:18 -0000 Received: from dobrien-home.cox.net ([68.105.188.27]) by lakemtao03.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040210042326.LBMN2192.lakemtao03.cox.net@dobrien-home.cox.net> for ; Mon, 9 Feb 2004 23:23:26 -0500 Message-Id: <6.0.0.22.2.20040209231905.0212ca08@mail.naccrra.org> X-Sender: dobrien@mail.naccrra.org X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 09 Feb 2004 23:23:19 -0500 To: "Tomcat Users List" From: David OBrien Subject: Re: done did not found a worker In-Reply-To: <1076379992.25405.184.camel@nick.docmagic.com> References: <1076355191.25401.0.camel@nick.docmagic.com> <4417.208.48.139.163.1076377065.squirrel@www.greenhydrant.com> <1076379992.25405.184.camel@nick.docmagic.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_78912578==.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=====================_78912578==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed At 09:26 PM 2/9/2004, Nicholas Bernstein wrote: >On Mon, 2004-02-09 at 17:37, David Rees wrote: > > On Mon, February 9, 2004 at 4:41 pm, Charles Daniel wrote: > > > > > > Give up trying to use Apache2 with mod_jk. After spending days on the > > > message boards trying to solve this one, I was ultimately told by the > > > so-called "experts" that "I had a network configuration problem and that > > > some process was likely to be either already using or blocking port > 8009". > > > > Hmm, I've had no problems at all using mod_jk with Apache2 on both various > > Linux and SGI Irix machines. I must be a so-called "expert". ;-) > > > > -Dave > >if you've got a minute, take a look @ the configs I posted >http://nicholasbernstein.com/tomcat/ Are you using workers2.properties with mod_jk and not mod_jk2 ?? JkWorkersFile /etc/httpd/conf/workers2.properties change to workers.properties JkLogFile /var/log/httpd/mod_jk.log In your... workers.properties: workers.tomcat_home=/u/internet/tomcat/ workers.java_home=/usr/java/ ps=/ worker.list=ajp13 ******* worker.ajp12.lbfactor=1 13 NOT 12 ******* worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.loadbalancer.type=lb wporker.loadbalancer.balanced_workers= ajp13 worker.inprocess.type worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)classic$(ps)libjvm.so worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr Also I have had to define a lvmroute in my server.xml that is the same name as the named worker in your case ajp13 -Dave >and let me know if you see anything wrong with the setup. I'd rather >stick to apache2; i'm using redhat ES and it looks like they've made a >lot of RH specific patches to httpd source, so it probably performs a >lot better that compiling 1.x from source. > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >-- >+---------------------------------------------------------------+ >| Nicholas Bernstein | nick@docmagic.com | >| UNIX Systems Administrator | http://www.docmagic.com | >| Document Systems Inc. | | >| gpg: F706 8C4E 78FA DDDD 53A0 019F D983 FE28 2002 D1F3 | >+---------------------------------------------------------------+ --=====================_78912578==.ALT--