Just change the name of the context xml file from manager.xml to MyManager.xml. Restart tomcat and the context name of the manager webapp will follow. Tomcat 5.5 made a change that nearly obsoletes the path attribute all together taking the name of the context xml file as the path.

--David

[EMAIL PROTECTED] wrote:

In Tomcat 5.0.x, it was possible to change the default context of the
manager application by modifying the path attribute of context element,
in the $CATALINA/conf/Catalina/localhost/manager.xml file, from
"/manager" to something else.

<Context path="/MyManager"
docBase="${catalina.home}/server/webapps/manager"
       debug="0" privileged="true">

Then you could access the manager application via
http://127.0.0.1:8080/MyManager/html.

Now, I am trying to accomplish the same thing in Tomcat 5.5.17 but the
technique no longer has this effect.  Adding a path attribute to the
context element does not seem to have any effect at all.  I have gone as
far as renaming the directory, in which the manager application
physically resides to $CATALINA/server/webapps/MyManager/ and then
adjusting the docBase attribute of the context element to match the new
path.  The manager application runs just fine, but it is still
accessible only via http://127.0.0.1:8080/manager/html.  This has me
confused.  I cannot find where Tomcat has this application mapped to
this path.
Is it possible to change the default context path to the manager
application on Tomcat 5.5.17?  If so, how is that done?

Thank you,

Timothy




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to