tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Busse" ...@medienkontor-online.de>
Subject AW: Two Depressed Questions
Date Thu, 12 Apr 2001 14:52:21 GMT
Maybe I can help you with the second question at least:

I removed the default host and put several virtual hosts in
my server.xml and some of them contain the same path "/". It 
works just beautifully. Maybe you throw out the default host
like I did. If tomcat works like apache, it will use the
first virtual host as default host anyway. Maybe there is
also a problem using an empty "" path.

cheers,
*stefan

> 2.  I set up two virtual hosts in server.xml in addition
>     to the default host, which I left as-shipped.  They 
>     each contain a context with a path = "".  When I access
>     'www.host1.com:8080' I get the correct results.  When 
>     I access 'www.host2.com:8080' I get a 503 error.  
>     Eliminating either entry allows the other to work.  
>     It appears to be a "Clash of the Contexts", where 
>     two contexts cannot have the same name, regardless of 
>     the host in which they are nexted.  The following log 
>     error suggests something in this area too:
>     2001-04-05 05:33:37 StandardContext[]: Error initializing
>     naming context for context 
>     2001-04-05 05:33:37 StandardContext[]: Context startup 
>     failed due to previous errors



Mime
View raw message