Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 21181 invoked from network); 24 Jun 2010 18:55:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jun 2010 18:55:15 -0000 Received: (qmail 98884 invoked by uid 500); 24 Jun 2010 18:55:11 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 98796 invoked by uid 500); 24 Jun 2010 18:55:10 -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 98787 invoked by uid 99); 24 Jun 2010 18:55:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 18:55:10 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [198.185.18.46] (HELO mx03.lexisnexis.com) (198.185.18.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 18:55:03 +0000 Received: from mailgate2.lexis-nexis.com ([138.12.44.45]) by spm5507-int.lexis-nexis.com with ESMTP; 24 Jun 2010 14:54:40 -0400 Received: from lngdayexcp001.legal.regn.net (smtpgate.lexis-nexis.com [138.12.18.80]) by mailgate2.lexis-nexis.com (8.12.11.20060308/8.12.11) with ESMTP id o5OIsenL019134 for ; Thu, 24 Jun 2010 14:54:40 -0400 Received: from lngoakexcp001.legal.regn.net ([10.121.160.5]) by lngdayexcp001.legal.regn.net with Microsoft SMTPSVC(6.0.3790.4675); Thu, 24 Jun 2010 14:54:40 -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: RE: underscore in a hostname Date: Thu, 24 Jun 2010 13:53:58 -0500 Message-ID: <82D053DC5446824A898933EADDD9690B0D51A3AD@lngoakexcp001.legal.regn.net> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: underscore in a hostname Thread-Index: AcsTzXgkJ5lgbi2yQyqxgVjoGMumUgAAHnNA References: From: "Baron, Bob (LNG-HBE)" To: "Tomcat Users List" X-OriginalArrivalTime: 24 Jun 2010 18:54:40.0687 (UTC) FILETIME=[B38EEBF0:01CB13CE] X-Scanned-By: MIMEDefang 2.51 on 138.12.44.45 I'd recommend just changing the name of the machine. I ran into this problem years ago and ran into all kinds of nasty problems - I had an issue open with Microsoft for over a month until an ACTUAL developer tracked it down as the culprit. I've made sure that no machine I'd ever have to interact with had an underscore again! Not that it's always credible, but Wikipedia actually has a pretty good summary in the 'Restrictions on valid host names' section. Read the RFC's for more detail. http://en.wikipedia.org/wiki/Hostname Bob -----Original Message----- From: Danny Gallagher [mailto:dannygallagher2@gmail.com]=20 Sent: Thursday, June 24, 2010 2:44 PM To: users@tomcat.apache.org Subject: underscore in a hostname Tomcat 6.0 Windows XP Installed tomcat, everything looks fine, I can run the manager application Then I try to deploy a war file that is a spring based sample application. Getting an exception about an invalid character in my hostname. My computer name does in fact have an underscore in it. Did some poking around to try to find a way around this, not clear on what to do. Am I better off just changing my computer name to something with no underscore? Is there a tomcat configuration where I can change it to my IP or localhost? I searched for my computer name in the conf directory and did not see anywhere it was used. Why did the manager application not complain about the same issue? Only the spring application. Thanks for any nudge (or shove) in the right direction. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org