>
>No need to apologize, you found the correct place for your question.

Great, thank you for the quick reply.

>[...]
>> upgraded t6 dev server.  I copied the t5 server.xml from the working
app
>> to the dev,
>
>I wouldn't do that.

Fair enough. Do you know of anywhere to find documentation on migrating
an old server.xml to the new standard, as I've been unable to find any
so far.  I have however found syntactical issues by trial and error with
the t5 server.xml when referring to the UserDatabase Resource name.  I
fixed those issues so that no exceptions were thrown to log.  Could
there be other syntactical issues that for some reason do not cause an
exception to be thrown?

>[...]
>> 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"
>
>Check whether the value of the "defaultHost" attribute of <Engine>
>corresponds to the "name" attribute of one of your <Host>s. If this is
>not the case, you may get the result you've seen.
>What makes me somewhat unsure is you should also see a warning logged
at
>startup. But in the snippet above there is none.

I have done this.  For example, this is what I have in one of my hosts
sections:

<Host name="www.xxx.com" appBase="">
        <Alias>app9.xxx.com</Alias>
        <Alias>www2.xxx.com</Alias>
        <Alias>xxx.com</Alias>
        <Alias>www.xxx.com</Alias>
        <Alias>airscorp.com</Alias>
</Host>

In my engine name: 

<Engine name="Standalone" defaultHost="www.xxx.com">

This line proceeds the hostname above.

After making this change, startup still seems fine as no exceptions are
thrown.  However, the same behavior is happening, when I go to the
server at one of the above hostnames, all I get is a 400.

Do I need to start from scratch and completely ditch the t5 server.xml?
I really hope not because there are a ton of database resources I would
have to test and be 100% sure on before throwing this into production.
I will do this if you feel it necessary, but if possible I'd rather find
a conversion solution instead of starting from scratch.

thanks
-dustin



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to