Hello,
Parsons Technical Services wrote:
Now as for the issue, I am not sure that it is a bug but just a feature.
Unless you can show where it does not meet the servlet specs then it
will not be considered a bug.
Ok, and since the issue is actually documented, it cannot be called a
bug.
i'm using tomcat 5.5.9 with a single webapp deployed with a context path
of and a default host named localhost. when i request the webapp's
root resource (http://localhost:8080/), i get a 400 error with the
message No Host matches server name localhost.
as you can see from my very minimal
deployed with a context path
of and a default host named localhost. when i request the webapp's
root resource (http://localhost:8080/), i get a 400 error with the
message No Host matches server name localhost.
as you can see from my very minimal server.xml, i do in fact have a Host
named
get a 400 error with the
message No Host matches server name localhost.
as you can see from my very minimal server.xml, i do in fact have a Host
named localhost and have specified it as the default host for the
engine. so, i must admit to being confused as to why i'm receiving that
particular
[EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, August 30, 2005 12:50 PM
Subject: No Host matches server name localhost error
i'm using tomcat 5.5.9 with a single webapp deployed with a context path
of and a default host named localhost. when i request
Parsons Technical Services wrote:
Per the 5.5 doc you can't do it that way. You can only specify the path
as a blank string when the context element is in the server.xml.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
Look at the path attribute.
aha! man, if only
From: Brian Moseley [mailto:[EMAIL PROTECTED]
Subject: Re: No Host matches server name localhost error
thanks for the pointer. after moving my context definition into
server.xml
Bad move. This is specifically discouraged in 5.5.
i wonder what the motivation was for making
On Tue, 2005-08-30 at 13:25 -0500, Caldarale, Charles R wrote:
From: Brian Moseley [mailto:[EMAIL PROTECTED]
Subject: Re: No Host matches server name localhost error
thanks for the pointer. after moving my context definition into
server.xml
Bad move. This is specifically
From: Paul Austin [mailto:[EMAIL PROTECTED]
Subject: RE: No Host matches server name localhost error
But the context path is only supported when you put it
in the server.xml so you can't deploy the wars to any
other path other than the name of the context file so
deploying to /apps
Paul Austin wrote:
It seems that Tomcat 5.5 discourages you from putting contexts in the
server.xml, and that is something that is a good idea as it's easier to
manage them when they are outside. But the context path is only
supported when you put it in the server.xml so you can't deploy the
- No Host matches server name
localhost is obviously not true. maybe the message can be changed to
more accurately convey that no context can be found for the request uri?
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi,
Parsons Technical Services wrote:
Per the 5.5 doc you can't do it that way. You can only specify the path
as a blank string when the context element is in the server.xml.
To reiterate: so the only 2 ways to define the *default web app* for the
host are either
- to define the context
somewhere there
is someone who doesn't like it.
Doug
- Original Message -
From: Thomas Corte [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, August 30, 2005 4:28 PM
Subject: Re: No Host matches server name localhost error
Hi,
Parsons Technical
?
Jonathan August wrote:
I installed Tomcat 5.0.30 using yum on Fedora Core 3. When I try
to connect to http://localhost:8080/, I get:
Alert!: HTTP/1.1 400 No Host matches server name localhost
I'm sure I'm missing something simple, but I'm pretty new at this,
so I'm not sure
I installed Tomcat 5.0.30 using yum on Fedora Core 3. When I try to
connect to http://localhost:8080/, I get:
Alert!: HTTP/1.1 400 No Host matches server name localhost
I'm sure I'm missing something simple, but I'm pretty new at this, so
I'm not sure what to check
What do you have in your /etc/hosts file?
Jonathan August wrote:
I installed Tomcat 5.0.30 using yum on Fedora Core 3. When I try to
connect to http://localhost:8080/, I get:
Alert!: HTTP/1.1 400 No Host matches server name localhost
I'm sure I'm missing something simple, but I'm pretty new
file?
Jonathan August wrote:
I installed Tomcat 5.0.30 using yum on Fedora Core 3. When I try to
connect to http://localhost:8080/, I get:
Alert!: HTTP/1.1 400 No Host matches server name localhost
I'm sure I'm missing something simple, but I'm pretty new at this, so
I'm not sure what to check
, 2005, at 3:52 PM, Rod Fitzsimmons Frey wrote:
What do you have in your /etc/hosts file?
Jonathan August wrote:
I installed Tomcat 5.0.30 using yum on Fedora Core 3. When I try to
connect to http://localhost:8080/, I get:
Alert!: HTTP/1.1 400 No Host matches server name localhost
I'm sure I'm missing
PM, Rod Fitzsimmons Frey wrote:
What do you have in your /etc/hosts file?
Jonathan August wrote:
I installed Tomcat 5.0.30 using yum on Fedora Core 3. When I try
to connect to http://localhost:8080/, I get:
Alert!: HTTP/1.1 400 No Host matches server name localhost
I'm sure I'm missing something
try
to connect to http://localhost:8080/, I get:
Alert!: HTTP/1.1 400 No Host matches server name localhost
I'm sure I'm missing something simple, but I'm pretty new at this,
so I'm not sure what to check.
-
To unsubscribe, e
20 matches
Mail list logo