-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Danny,

On 6/24/2010 2:43 PM, Danny Gallagher wrote:
> Getting an exception about an invalid character in my hostname.
> My computer name does in fact have an underscore in it.

Underscores aren't allowed in hostnames in URLs (see RFC 1738,
http://www.ietf.org/rfc/rfc1738.txt, and search for "hostname"), so
that's likely the problem. ;)

Perhaps Microsoft Windows allows more characters in the "machine name"
which gets turned into the hostname, which is then invalid :(

Would you mind posting the stack trace just for giggles?

> Am I better off just changing my computer name to something with no
> underscore?

Probably.

> Is there a tomcat configuration where I can change it to my IP or localhost?

That depends on where the exception is being thrown.

> 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.

It's probably trying to use a specific hostname instead of just
"localhost" or something equivalent.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwjwH8ACgkQ9CaO5/Lv0PAcDQCeMSXG/lOwkKgxN131J+4J+J3j
CMYAn18TdynL7OCna//GKT9A3xU1fzEN
=vVIM
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to