tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torben C G Jensen" ...@CDRator.com>
Subject http://localhost/manager/reload?path=xxxx
Date Fri, 09 Jan 2004 10:58:59 GMT
When I use the manager to reload contexts, not all virtual hosts are reloaded.

Example:

I have 2-3 hosts defined in server.xml, each having the same contexts defined i.e. 

....
<Host name=www.host.com debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Context path="" docBase="web1" debug="0"/>
</host>

<Host name=localhost debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Context path="" docBase="web1" debug="0"/>
</host>
....


-but if I upload new jar files to the WEB-INF/lib catalog, and then call:

http://localhost/manager/reload?path=/web1

It is only when I call the locahost host (http://localhost/web1/....) that the new jar files
are used. If I use the www.host.com (http://www.host.com/web1/....), it is still the old jar
files that are used(??)

Why is that - does anyone know?

I am using tomcat 5.0.9.

Regards, 
Torben Jensen
CDRator A/S, Denmark

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message