i installed a third party app ( on windoes server 2008 r2) that included Tomcat 6.0.24. during config i commented out localhost in server.xml (strange i know).
i set up ssl and url (virtual host) for the app and evrything works as it should.
now (due to another issue) i contacted support for the App and since the third party couldn't get localhost to respond they insist that appache isn't responding even though it absolutely has to be
now when i try to un comment localhost and restart tomcat i don't get any error messages i can find but the url's never generate a response.
my localhost entry looks something like
<Host name="localhost" appBase="C:\third_party\Tomcat6\webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"></Host>
is there anything special about localhost... does it have to be first in server.xml?
does anyone know what i have to do to get it to respond again?
if i just go to the url (as https:) i have on the dns for the machine i do get that status page.
Your best bet may be to pull a copy of the original server.xml from the ZIP file that contains the Tomcat you downloaded and installed and restart from there.
Server.xml is an XML file, and it actually defines how the various building blocks that make up Tomcat are assembled. Order of the elements isn't as important as relationships between the various elements.
I think you may be confusing the Apache HTTPD server with the Apache Tomcat server. Although Tomcat does support virtual hosts, that feature isn't used as often as Apache Virtual Hosts are. Especially if you are using Apache as your front-line server and proxy to Tomcat.
In Tomcat "localhost" generally is the default host.
Sources may include data from the Fakebook Research Foundation with support from Gargle University
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?