Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 23765 invoked from network); 12 Jan 2009 21:27:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jan 2009 21:27:29 -0000 Received: (qmail 99744 invoked by uid 500); 12 Jan 2009 21:27:17 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 99716 invoked by uid 500); 12 Jan 2009 21:27:17 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 99704 invoked by uid 99); 12 Jan 2009 21:27:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 13:27:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [130.132.50.122] (HELO pantheon-po27.its.yale.edu) (130.132.50.122) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 21:27:08 +0000 Received: from bml0073.yalepath.org ([204.90.81.8]) by pantheon-po27.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n0CLQlia029122 for ; Mon, 12 Jan 2009 16:26:47 -0500 Message-Id: From: =?ISO-8859-1?Q?J=E1nos_L=F6bb?= To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Subject: some config issue with Apple supplied Tomcat Date: Mon, 12 Jan 2009 16:26:47 -0500 X-Mailer: Apple Mail (2.930.3) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am trying to setup a cluster using Apple supplied Apache2 and =20 Tomcat. On OSX, tomcat is in /Library/Tomcat. Apache is configured in a mixed way, because Apple installs 1.3 and =20 2.2, so there is /etc/httpd for config of 1.3 and /etc/apache2 for =20 config of 2.2. However even the config file in /etc/apache2 refers to =20= the workers.properties in /etc/httpd :) Looks like as siamese twins =20 in the process of separation. Tomcat version 6.0.18 Java: java version "1.5.0_16" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-=20 b06-284) Java HotSpot(TM) Server VM (build 1.5.0_16-133, mixed mode) apache2: version 2.2 Tomcat is running after checking the checkbox and restarting Apache2 pathsrv1:httpd administrator$ ps -avx |grep tomcat 59195 Ss 0:01.10 0 0 0 600172 628 - 0 =20 0.0 0.0 /bin/sh /Library/Tomcat/bin/tomcat-launchd.sh 62573 R+ 0:00.00 0 0 0 590472 92 - 0 =20 0.0 0.0 grep tomcat and I can get to the SessionExample via port 80. However I get this into the mod_jk.log: [Mon Jan 12 14:57:31 2009] [59281:0000] [error] init_jk::mod_jk.c =20 (2701): Initializing shm:/usr/logs/jk-runtime-status.59281 errno=3D2. =20= Load balancing workers will not function properly. Looking on the Internet someone recommended to create a "run" =20 directory, that used to be in /usr/local/apache2/. I do not know if =20 that is the solution for this Apple supplied config on OSx 10.5.6. I also have a second issue, but that might relate to this message =20 above. I created a reverse proxy setup and this is what Apple put =20 into the site configuration file: ProxyPass /apps/ balancer://balancer-group/ =20 stickysession=3DJSESSIONID ProxyPassReverse /apps/ balancer://balancer-group/ BalancerMember http://pathsrv1.yalepath.org =20 loadfactor=3D1 Right now I have just one machine and I am trying it as a Balance =20 member and also as a reverse proxy. So based upon the config, I =20 thought that if I want to go to; = http://pathsrv1.yalepath.org/apps/examples/servlets/servlet/SessionExample= than the reverse proxy that is pathsrv1 will pass it to the balance =20 member, that is again pathsrv1 and from there It will give me the =20 SessionExample as if I would have gone just to http://pathsrv1.yalepath.org/examples/servlets/servlet/SessionExample Either my config is not right, or my thinking :) Any good hint is appreciated. J=E1nos --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org