tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Tomcat with multiple domains
Date Fri, 30 Nov 2012 15:11:14 GMT
Jeffrey Janner wrote:
>> -----Original Message-----
>> From: Paul van Hoven [mailto:paul.van.hoven@googlemail.com]
>> Sent: Wednesday, November 28, 2012 5:29 PM
>> To: Tomcat Users List
>> Subject: Re: Tomcat with multiple domains
>>
>> Hi!
>>
>> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message