-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Konstantin,
On 12/4/19 17:32, Konstantin Kolinko wrote: > чт, 5 дек. 2019 г. в 01:20, Guild, Jason A (DOT) > <jason.gu...@alaska.gov>: >> >> Hi all: >> >> The context path of the Tomcat manager application is "/manager" >> by default [0]. I am trying to change this context path from the >> default using an override configuration. >> >> I am doing the typical creation of a container using makebase.sh >> and setting CATALINA_BASE before starting it. >> >> To enable the manager application on these containers, I create a >> file $CATALINA_BASE/conf/[engine]/[host]/manager.xml with the >> following content: <?xml version="1.0" encoding="UTF-8"?> >> <Context path="/manager" >> docBase="${catalina.home}/webapps/manager" >> antiResourceLocking="false" privileged="true"> </Context> > > The usage of "path" attribute above is invalid. It must never be > used in a context xml file and it is ignored there, because the > path is derived from the name of the file. > > See http://tomcat.apache.org/tomcat-9.0-doc/config/context.html > > If you want to rename the application, you must do the following: > > 1) first, rename the file itself, e.g. to > > $CATALINA_BASE/conf/[engine]/[host]/dev9#manager.xml > > $CATALINA_BASE/conf/[engine]/[host]/mymanager.xml > > etc. > > 2) second, you must move the manager application from > "${catalina.home}/webapps/" to some other directory. > > The applications in "webapps/" directory are auto-deployed when > Tomcat starts. If you keep the manager app there, it will be > deployed twice, with the new and with the old name. This should not be necessary. The OP is using a split CATALINA_BASE and so CATALINA_HOME/webapps/manager will not be auto-deployed. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl3oOe8ACgkQHPApP6U8 pFjKpg//aYxvnSSIjh/Lj7J8Ro8jITGiM6O2T5jyYARfKHI3pyEwL6QQKivHlwZe cO77574BH7IPlnvnHNeX0v3HmHmN0i5ArzIfACHpFCPWC/NMiz0WE2lawjgDpYfA i8g4/LkNwPIHerf/V3UckjidOx+rjzKqJlZ4O6qXPHbv9/COSslk8Z308HU+W7N5 cJLwO0DCn3iD1WY46aCo/Tp7rdD5SymZp5VZUZwWYLDNVwVgfQAZmTsN3J7qCfZR DQzIgN8M0vFQIhDRjBzVfPPYmZieHFIv7Zb5fc80JME3WqCzEyplsRKCTKz32vO+ LMWVJ53+RD2ljfYdbdpd6qnXLhzyJQW4TGrV+hSfGhVukV5I5DCTGHt4n5eBj0cX TLnjX29qKpS7f2r8dglbRVXV4trCh7DNwstWOYSzlLy5csOtIdtS5yIOkKyhj6Uv ywDzQ5gfB79hdN1zufWjQr6x4fpIDlJrcD4AE0Mp2fNAcFGt0j35nLSiqg2qmFir iORrhrDB8s4OTdRINq1+K5c4Ot1Hb+e/XtdfhW/OfMxQdPNGEvBvPBPXqEmDxGPA ifhGkYdJEkrov+IiJb4GIkFerzms0uknXOHlESuAv9CsZU9MuyPN1Ebgn0LVjHsK OW9d83T2MEVCWjq0BaX+pNK1E5uWZeRXxiJg/SVXP+JP0n1N5wg= =3TDw -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org