tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baron, Bob (LNG-HBE)" <Bob.Ba...@lexisnexis.com>
Subject RE: underscore in a hostname
Date Thu, 24 Jun 2010 18:53:58 GMT
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] 
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


Mime
View raw message