Jeffrey Janner wrote:
-----Original Message----- From: Paul van Hoven [mailto:[email protected]] Sent: Wednesday, November 28, 2012 5:29 PM To: Tomcat Users List Subject: Re: Tomcat with multiple domainsHi! Thanks for your quick and detailed answers. Actually I think I did all the things you mentioned but it still does not work. So here are the changes I made: 1. I checked that the following entries are in the engine tag: <Server port="8005" shutdown="SHUTDOWN"> ... <Service name="Catalina"> ... <Engine name="Catalina" defaultHost="localhost"> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">[Jeff Janner] You need a "</Host>" here. All elements must have a begin tag and an end tag! If there are no sub-elements, you can combine the begin and end tags as <tagname ... />. Please find a good introductory reference on XML markup language before continuing.<Host name="www.my2nddomain.com" appBase="/opt/apache-tomcat-7.0.32/my2nddomain" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> </Host>
Haaa. Good catch, Jeffrey. Everyone else missed that. So it probably "swallowed" the second Host's tags in the first, with who knows which results. Surprising that Tomcat still starts. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
