tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject tomcat & deploywar & context.xml
Date Mon, 21 May 2012 16:26:36 GMT
Hi,

how does tomcat manage context.xml at startup?

from what i saw it uses org.apache.catalina.startup.HostConfig.DeployWar
but in org.apache.catalina.startup.HostConfig#deployWAR it reads the
context.xml file before overriding it with contextname info which ignores
the context.xml file:

            context.setName(cn.getName());
            context.setPath(cn.getPath());
            context.setWebappVersion(cn.getVersion());
            context.setDocBase(cn.getBaseName() + ".war");


did i miss sthg or is it a bug?

- Romain

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