Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 30660 invoked by uid 500); 26 Apr 2003 15:09:53 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 30586 invoked from network); 26 Apr 2003 15:09:53 -0000 Received: from stl-smtpout-01.boeing.com (130.76.96.56) by daedalus.apache.org with SMTP; 26 Apr 2003 15:09:53 -0000 Received: from stl-av-02.boeing.com ([192.76.190.7]) by stl-smtpout-01.boeing.com (8.9.2/8.8.5-M2) with ESMTP id KAA19008 for ; Sat, 26 Apr 2003 10:09:55 -0500 (CDT) Received: from blv-hub-01.boeing.com (localhost [127.0.0.1]) by stl-av-02.boeing.com (8.9.3p2/8.9.2/MBS-AV-02) with ESMTP id KAA19881 for ; Sat, 26 Apr 2003 10:09:54 -0500 (CDT) Received: from cruciate.ca.boeing.com (cruciate.ca.boeing.com [130.42.76.133]) by blv-hub-01.boeing.com (8.11.3/8.11.3/MBS-LDAP-01) with ESMTP id h3QF9rb23958 for ; Sat, 26 Apr 2003 08:09:53 -0700 (PDT) Received: from localhost (dodge@localhost) by cruciate.ca.boeing.com (8.9.3+Sun/8.9.3) with ESMTP id IAA17806 for ; Sat, 26 Apr 2003 08:09:52 -0700 (PDT) Date: Sat, 26 Apr 2003 08:09:52 -0700 (PDT) From: "John P. Dodge" X-X-Sender: dodge@cruciate To: "'users@httpd.apache.org'" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] tomcat 4.1.24 to Apache 2.0.45 using coyote mod_jk2 On Thu, 24 Apr 2003, Ikonne, Ike wrote: > > Hi all, > > I am having problem getting Apache 2.0.45 to talk to tomcat 4.1.24 > using the coyote mod_jk2 connector. I have provided the config > files and error message in Apache's error log file. I would > appreciate it if someone could tell me what I am doing wrong. > > Thanks, > > Ike > > > ****** Here is the content of jk2.properties on tomcat 4.1 conf dir: > > # Set the desired handler list > #handler.list=3Drequest,channelSocket > # > # Override the default port for the socketChannel > channelSocket.port=3D8019 > > ******* Here is the content of workers2.properties on Apache conf dir: > > # Define the communication channel > [channel.socket:localhost:8019] > info=3DAjp13 forwarding over socket > tomcatId=3Dlocalhost:8019 > > # Map the Tomcat examples webapp to the Web server uri space > [uri:/examples/*] > info=3DMap the whole webapp > > > ******* Here is config info in tomcat 4.1 server.xml > > > port=3D"8019" minProcessors=3D"5" maxProcessors=3D"75" > enableLookups=3D"true" redirectPort=3D"8443" > acceptCount=3D"10" debug=3D"0" connectionTimeout=3D"20000" > useURIValidationHack=3D"false" > > protocolHandlerClassName=3D"org.apache.jk.server.JkCoyoteHandler"/> > > > When I try to connect to the example servlet that comes with > tomcat through Apache http://localhost/examples/, I get the > following information in Apache error log file: > > ********* Apache's log file > > [Wed Apr 23 23:22:13 2003] [error] shm.init(): No file > [Wed Apr 23 23:22:13 2003] [notice] Parent: Created child process 2764 > [Wed Apr 23 23:22:13 2003] [error] shm.init(): No file > [Wed Apr 23 23:22:13 2003] [notice] Child 2764: Child process is running > [Wed Apr 23 23:22:13 2003] [error] shm.init(): No file > [Wed Apr 23 23:22:13 2003] [error] mod_jk child init 1 0 > [Wed Apr 23 23:22:13 2003] [notice] Child 2764: Acquired the start mutex. > [Wed Apr 23 23:22:13 2003] [notice] Child 2764: Starting 250 worker threa= ds. > [Wed Apr 23 23:23:22 2003] [error] workerEnv.init() create slot epStat.0 > failed > [Wed Apr 23 23:23:22 2003] [error] lb.service() worker failed 120000 for > ajp13:localhost:8019 > [Wed Apr 23 23:23:22 2003] [error] lb.service() unrecoverable error... Do you have a shm:init section in workers2.properties? # workers2.properties [shm] file=3D${serverRoot}/logs/shm.file size=3D1048576 Also the channel port is 8019 in the workers2.properties and 8009 in tomcat server.sml? ---------------------------------------- "Mon a=E9roglisseur est plein d'anguilles" John P. Dodge Boeing Shared Services --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org