Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 36587 invoked from network); 24 Jul 2007 12:07:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jul 2007 12:07:52 -0000 Received: (qmail 76325 invoked by uid 500); 24 Jul 2007 12:07:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 76297 invoked by uid 500); 24 Jul 2007 12:07:39 -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 76286 invoked by uid 99); 24 Jul 2007 12:07:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 05:07:39 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of hawkett@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 05:07:37 -0700 Received: by wa-out-1112.google.com with SMTP id m38so2432929waf for ; Tue, 24 Jul 2007 05:07:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=ACtPjeS4Z8TMkZOsu+RNuTyHpI4qoifsvlwQqUa4Qq7xNFplHD3K3ALB2u21Q4yIflqAfgxV61Wfq41dusHG740yIoGjKjL5R0TVwmwOcJ9i82snkDstsu8KxsEX12uwpsgO2IXMfTmb71dW67orJDe+fmq/n0m5Au4m0hQ62eA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=lGJ6oIXM8rJ4v7mVIG2uT5gknWKNgcrEflIz47MBe+yKnIBjdWgviTB0sMvsvw8biIFIKwnF3/wCASYJ0pHbKccDH8k7yctSiTP/FAFV25KU5Ew7JCTZsjNsaB9aep5S0bOo9xgopedKOdQmrEwpji7Ll0fw4UFSMh6qITc0hUI= Received: by 10.114.24.1 with SMTP id 1mr3980073wax.1185278836817; Tue, 24 Jul 2007 05:07:16 -0700 (PDT) Received: by 10.114.167.7 with HTTP; Tue, 24 Jul 2007 05:07:16 -0700 (PDT) Message-ID: <310118e90707240507m1f1c4248h7faec38eb631f37a@mail.gmail.com> Date: Tue, 24 Jul 2007 22:07:16 +1000 From: "Colin H" To: users@tomcat.apache.org Subject: Something other than localhost on OS X MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_155913_13301513.1185278836795" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_155913_13301513.1185278836795 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am trying to do something that I figure should be pretty simple - accessing my tomcat container from something other than localhost. So far as I can tell, I should be adding a entry to server.xml with the host I want to access tomcat as. On OS X, hosts in the local subnet can be accessed as .local - so, for example, typing 'ssh someuser@host2.local' on host1 will ssh to host2 authenticating as someuser (this is working - i.e. host2.local can be resolved form host1). If you type 'hostname' on host1, it returns 'host1.local' So the scenario is that I have tomcat deployed and working on host2 port 8080, and want to access it from host1. I don't want to muck around with apache and mod_jk etc. Been there many times before, always find it annoying. In any case, I shouldn't need to, as far as I can tell, as tomcat should be able to do the job. I am adding the following to the server.xmlfile, after the entry - and would like the following URL 'http://host2.local:8080/' to work from host1. ' http://localhost:8080/' already works from a browser on host2. I realise I am using the tomcat embedded within JBoss, but it should be the same - I have the following specific questions 1. Is this the right approach in general (ignoring specific of JBooss or whatever)? 2. Is there something tricky about the OS X host naming mechanisms that could be causing me some problems? 3. Any other ideas why this might not be working? Thanks, Colin ------=_Part_155913_13301513.1185278836795--