Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 46404 invoked from network); 24 Jun 2002 23:28:00 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 24 Jun 2002 23:28:00 -0000 Received: (qmail 10284 invoked by uid 97); 24 Jun 2002 23:27:49 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 10268 invoked by uid 97); 24 Jun 2002 23:27:49 -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 10254 invoked by uid 98); 24 Jun 2002 23:27:49 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: From: "Whitcomb, Roger" To: Tomcat Users List Subject: RE: How do you edit the conf file for Apache??? Date: Mon, 24 Jun 2002 19:04:40 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C21BD3.856103CE" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C21BD3.856103CE Content-Type: text/plain; charset="iso-8859-1" Steve, You might get a better response if you showed a little more courtesy and gratitude for the *free* help you are receiving here: http://www.tuxedo.org/~esr/faqs/smart-questions.html So, what exactly do you mean "trying to edit and not at all successfully"? Do you not know how to use a text editor, or what? Apache will not recognize changes to the configuration file without a restart. Did you do that? What kinds of changes are you trying to make? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 roger.whitcomb@ca.com -----Original Message----- From: STEVE R BURRUS [mailto:steve5296@yahoo.com] Sent: Monday, June 24, 2002 3:53 PM To: Tomcat Users List Subject: How do you edit the conf file for Apache??? Rory, I emailed you earlier today, but YOU HAVE NOT SEEN FIT to respond back to me yet, so I thought that I would give you another "electronic shout" again now. I installed Apache just last nite, so I was at least trying to edit the conf file, but not at all successfully!! Can you help me please? SRB **************************************************************************** ******* --- "Douglas, Rory" wrote: > Just sending this again to see if I can get #@!!***$ Outlook NOT to send > HTML mail! > > I haven't set-up anything really complex but the following setup should > work. I haven't got around to trying load-balancing, if anyone does that and > gets it working, please share! > > ------------------------------- > in HTTPD.CONF (in Apache2\conf) > ------------------------------- > LoadModule jk2_module modules/mod_jk2.dll > > ------------------------------------- > in JK2.PROPERTIES (in Tomcat4.1\conf) > ------------------------------------- > I just commented out everything. Note that if you are using an AJP connector > with port other than the default of 8009 you should specify here (where it > says channelSocket.port). If you comment everything out JK seems to default > to 8009 (and then 8010, 8011 and so on if you have more than one connector). > If you want need specific ports for multiple connectors then specify > channelSocket.port multiple times e.g > > channelSocket.port=8014 > channelSocket.port=8018 > > if you have two AJP connectors specified in server.xml with port numbers > 8014 and 8018. > > ---------------------- > in WORKERS2.PROPERTIES > ---------------------- > > I just copied this file from tomcat4.1\jtc-src\jk\conf into Apache2\conf and > edited it a bit. The really important bits seem to be: > > [channel.socket:localhost:8009] > info=Ajp13 forwarding over socket > debug=20 > tomcatId=Tomcat-Standalone > > that actually sets up a worker. I understand that you can specify > > group=someGroupName > > and create groups of workers for load-balancing. I also believe that every > worker created without specfiying a group is in the default group (I think > it is "lb"). > > To map contexts use [uri:] blocks like so: > > [uri:/test] > info=Test context mapping > debug=20 > context=/test > > Again, here you can specify which workers serve that context by specifying > group=groupName > > It's a good idea to keep these parts around too: > > [status:] > info=Status worker, displays runtime informations > > [uri:/jkstatus/*] > info=Display status information and checks the config file for changes. > group=status: > > you can then hit http://yourapacheserver/jkstatus and get a loads of jk info > that might help you catch config errors > > There are some docs in tomcat4.1\jtc-src\jk\doc\jk2 that might help (but > they're not great). > > Hope this is useful to someone > cheers > Rory > > > Rory Douglas > Sun Chemical Corporation > (201) 224-4600 x133 > rory.douglas@na.sunchem.com > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: ------_=_NextPart_001_01C21BD3.856103CE--