Problem:
The "path" attribute in the Context descriptor file no used in
TC 5.5 and 6.0.

Background:
In an application deployment you whish to be able to install and
upgrade both tomcat and your WARS individually. In TC 4.1 this was
easily done by dropping a Context descriptor file in the webapps
directory. This Context descriptor contained beside local
configurations mainly what was deployed (docBase - which WAR) and where
it should be deployed (path - mount point for the WAR). Name of the
Context descriptor file was arbitrary except it had an '.xml'
extension.

The ability to drop Context descriptor files are now moved to the
$CATALINA_HOME/conf/[enginename]/[hostname] directory OK. The problem
is that the "path" attribute is ignored in the Context read from this
directory. Only Contexts defined in the server.xml file honors the
path attribute. Defining the Contexts in the server.xml file is though
discouraged of obvious reasons.

Boris

-- 
                              \\V//
                              (o o)
--------------------------ooO--(_)--Ooo-----------------------------
    You know you've achieved perfection in design,
        NOT when you have nothing more to add,
            but when you have nothing more to remove.
.....................................................................
Boris Prochazka                 E-mail: [EMAIL PROTECTED]
Arenavagen 23, Box 101 60       http://www.ipunplugged.com
SE-121 28 Stockholm Globen      [home]   +46  8  - 6040786
                                [office] +46  8  - 7255919
SWEDEN                          [mobile] +46 70  - 5125122

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to