Hello,
I apologize if this is the incorrect list to be writing to.
Regardless, here is my problem;
I have volunteerd to migrate my company from tomcat 5.0.25 to tomcat
6.0.14. All of our webapps, (around 15) are all working perfectly under
tomcat 5. I read all that I could find on tomcat 6 before starting this
project, and things made sense to me. The biggest discression that I
found between t5 and t6 is how contexts are dealt with.
Essentially what I have done, is copied the entire contents of the
$CATALINA_HOME/webapps directory from a working app server to this
upgraded t6 dev server. I copied the t5 server.xml from the working app
to the dev, and created the context structure as dictated in the
documentation. I removed the contexts from the main server.xml. I kept
all of my <Host> entries in the server.xml, and created
$CATALINA_HOME/conf/<engine>/<host>/context.xml.default files. After
messing with the syntax of the context.xml files and the server.xml
file, I finally got the tomcat server to start without any exceptions,
and it seems as though its waiting for connections on port 80 -- see
below:
Oct 23, 2007 5:48:03 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Oct 23, 2007 5:48:03 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 399 ms
Oct 23, 2007 5:48:03 PM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Standalone
Oct 23, 2007 5:48:03 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Oct 23, 2007 5:48:05 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
Oct 23, 2007 5:48:05 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1494 ms
>From what I can tell the server is waiting for a connection. No
exceptions have been thrown to log. When I try to connect to the server
however, all I get is a blank page. Running fiddler, I see that I'm
getting a "HTTP/1.1 400 No Host matches server name xxx.xxx.com" The
host I'm trying to reach is entered into my local hosts file, and is
present on the servers hosts file. DNS resolution of the FQDN i'm
trying to go to shouldn't be an issue.
I have kept the global context.xml with the defaults that came with the
system as I don't want to establish any context values system wide.
My context files look like this:
<Context>
....Insert context paths and resource links here.
</Context>
Can anyone tell me where to look to find out why my t6 server refuses to
serve up pages that work under t5? Im out of logged exceptions to
troubleshoot.
thanks!
-dustin