tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33967] - add a parameter to Context
Date Wed, 16 Mar 2005 15:13:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33967>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33967





------- Additional Comments From lionel.farbos@free.fr  2005-03-16 16:13 -------
The diff between TC4.1.32Alpha (HEAD tag) and the new version is :

$diff ManagerServlet.java.cvs ManagerServlet.java.new
316c316
<             stop(writer, path);
---
>             stop(writer, path,type);
1119c1119
<     protected void stop(PrintWriter writer, String path) {
---
>     protected void stop(PrintWriter writer, String path,String type) {
1122c1122
<             log("stop: Stopping web application at '" + path + "'");
---
>             log("stop: Stopping (" + type +") web application at '" + path + "'");
1144a1145,1147
>           if ( (type != null) && (! type.equals("")) ) {
>               context.getServletContext().setAttribute("TYPE",(Object)type);
>             }


The patch for HTMLManagerServlet is not needed.

and the batch script is better with :
curl -u $loginManager:$pwdManager -H "Host: $vHost"
"http://$vHost:8080/manager/stop?path=$context&type=LIGHT"


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message