tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary <gzh...@gmail.com>
Subject Re: anyway to disable undeploy link in manager app?
Date Wed, 08 Feb 2006 16:43:08 GMT
Mikolaj Rydzewski wrote:

> Amila Suriarachchi wrote:
>
>> you can do this by  changing the source code.  you have to change the
>> following constants in 
>> org.apache.catalina.manager.HTMLManagerServlet.java
>>
>>  private static final String STARTED_APPS_ROW_BUTTON_SECTION =
>>  private static final String STOPPED_APPS_ROW_BUTTON_SECTION =
>>
>> you can delete the undeploy link from there.
>>   
>
> And don't forget to disable code that does the undeploy. One could use 
> 'well known undeploy link' on your linkless manager webapp and... 
> undeploy ;-)
>
Thanks!  That'll make undeploy a little less convenient so I don't 
accidentally undeploy the wrong app.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message