tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <remy.mauche...@gmail.com>
Subject Re: tc5.5 - multiple hosts problem
Date Sun, 24 Oct 2004 20:59:16 GMT
On Sun, 24 Oct 2004 15:25:49 -0400 (EDT), Alex <alex@squigly.net> wrote:
> hey all.
> 
> just installed tc 5.5.3 and it works fine no problems out of the box.
> now, when i modify the server.xml to add another host, other then
> localhost, it sort of works...see, the problem is, i deploy a new war file
> to the new 'host' and the only way i can access it is if i go to:
> 
> http://meh:8080/meh/index.jsp and not http://meh:8080/index.jsp
> 
> so initially, the hosts somewhat works, but for some reason, the path for
> the context isn't being picked up...thoughts?

The way defining the context path works has been changed. Since there
was redundant information, the path of the context is now found based
on the deployment file name (= it can be the .xml, the .war or the
expanded folder file name). So here, if you want your context to have
the root path, your .xml should be ROOT.xml, and you should remove the
path attribute.

-- 
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message