Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 94015 invoked from network); 12 Sep 2006 06:45:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Sep 2006 06:45:10 -0000 Received: (qmail 23415 invoked by uid 500); 12 Sep 2006 06:44:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23390 invoked by uid 500); 12 Sep 2006 06:44:53 -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 23379 invoked by uid 99); 12 Sep 2006 06:44:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2006 23:44:53 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of michael.r.jordan@thomson.com designates 198.80.156.67 as permitted sender) Received: from [198.80.156.67] (HELO mailout-tf.thomson.com) (198.80.156.67) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2006 23:44:52 -0700 Received: from mailout-tf.thomson.com (localhost [127.0.0.1]) by mailout-tf.thomson.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id k8C6iUb9010116 for ; Tue, 12 Sep 2006 06:44:30 GMT Received: from tfusmabosfe02.ERF.THOMSON.COM (tfusmabosfe02.erf.thomson.com [10.14.6.235]) by mailout-tf.thomson.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id k8C6iTVd010102 for ; Tue, 12 Sep 2006 06:44:30 GMT Received: from TLUSOHCINBH01.ERF.THOMSON.COM ([10.160.1.14]) by tfusmabosfe02.ERF.THOMSON.COM with Microsoft SMTPSVC(6.0.3790.1830); Tue, 12 Sep 2006 02:42:38 -0400 Received: from tluscabelmul02.ERF.THOMSON.COM ([10.166.70.15]) by TLUSOHCINBH01.ERF.THOMSON.COM with Microsoft SMTPSVC(6.0.3790.1830); Tue, 12 Sep 2006 02:42:36 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Apache2, Tomcat, and connectors Date: Mon, 11 Sep 2006 23:42:35 -0700 Message-ID: <673EB0AA43701943BA79A600759CDB82ECAF51@tluscabelmul02.ERF.THOMSON.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Apache2, Tomcat, and connectors Thread-Index: AcbWNqFZX9bqCWvQTJe8rDr8zIAEdg== From: To: Cc: X-OriginalArrivalTime: 12 Sep 2006 06:42:36.0568 (UTC) FILETIME=[A2458180:01C6D636] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have separate web and app servers. They are both behind a firewall and I only have port 80 access to the web server and ssh to each of the servers. I'm attempting to set up a development environment where we can eventually add more app servers and add load balancing to provide an environment where we can debug load balancing issues. I'd like to set up several developers with their own development environments (tomcat, and their apps) on the app server. I've tried reverse proxy, mod_jk, and mod_proxy_ajp without complete success. I just can't believe I'm the first to try this, but I've searched everywhere I can imagine looking for sample configurations and haven't found the answer. I cannot figure out how to do this without virtual hosts, and remember I only have one domain name and one port to the web server. So, which is the current 'best practice' among reverse proxy, mod_jk, and mod_proxy_ajp? Can I get multiple Tomcats running on the app server with the same Apache2 connecting via one of the connectors mentioned above? Any guidance is appreciated. Here's the applicable part of my config files: Apache2----------------- . . . ProxyRequests Off Order deny,allow Allow from all JkLogFile /var/log/httpd.mod_jk.log JkLogLevel debug JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat "%b %H %m %v:%p %q %r %s %U %w %V %T" JkWorkerProperty worker.list=3D3Dtomcat,mrjwrkr JkWorkerProperty worker.tomcat.type=3D3Dajp13 JkWorkerProperty worker.tomcat.host=3D3Dmydomain.com JkWorkerProperty worker.tomcat.port=3D3D8009 JkWorkerProperty = worker.mrjwrkr.type=3D3Dajp13 JkWorkerProperty worker.mrjwrkr.host=3D3Dmydomain.com JkWorkerProperty worker.mrjwrkr.port=3D3D50011 # These work, more or less; can get to index.jsp->manager but then broken ProxyPass http://mydomain.com:50012/dev/user1/ ProxyPassReverse http://mydomain.com:50012/dev/user1/ # These work, more or less; can get to index.jsp->manager but then broken #ProxyPass ajp://mydomain.com:50011/dev/user1/ #ProxyPassReverse ajp://mydomain.com:50011/dev/user1/ # This doesn't work at all #JkMount mrjwrkr . . . Tomcat------------------ . . . . . . ---------------------------------------- Michael R. Jordan Thomson Learning Solutions 20 Davis Drive Belmont, CA 94002 +1 650 413 7431 www.thomson.com/learning --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org