Hi people,
Webapps with explicit Context specifiers in server.xml are not correctly recognized according to their docBase specifiers. Tomcat consequently incorrectly deploys duplicates of these apps under default context specifiers. For apps involving resources or non-trivial behaviour, eg sockets, this will result in resource assignment being taken by the wrong instance. Reloading may also then become ineffective/ non-correctly functional as the intended instance requested for reload is not the actual instance handling the resource or serving socket connections.