remm 2003/08/17 04:16:02 Modified: webapps/docs html-manager-howto.xml manager-howto.xml Log: - Fix typos. Revision Changes Path 1.4 +4 -4 jakarta-tomcat-catalina/webapps/docs/html-manager-howto.xml Index: html-manager-howto.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/html-manager-howto.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- html-manager-howto.xml 2 Aug 2003 17:51:15 -0000 1.3 +++ html-manager-howto.xml 17 Aug 2003 11:16:02 -0000 1.4 @@ -147,9 +147,9 @@ "stopped" on a list applications command.</p> <p>If this command succeeds, you will see a Message like this:</p> -<source> +<source> OK - Stopped application at context path /examples -</source> +</source> <p>Otherwise, the Message will start with <code>FAIL</code> and include an error message. Possible causes for problems include: @@ -253,9 +253,9 @@ in the HTML manager.</p> <p>If this command succeeds, you will see a Message like this:</p> -<source> +<source> OK - Undeployed application at context path /examples -</source> +</source> <p>Otherwise, the Message will start with <code>FAIL</code> and include an error message. Possible causes for problems include: 1.8 +12 -12 jakarta-tomcat-catalina/webapps/docs/manager-howto.xml Index: manager-howto.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/manager-howto.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- manager-howto.xml 30 Jul 2003 18:37:06 -0000 1.7 +++ manager-howto.xml 17 Aug 2003 11:16:02 -0000 1.8 @@ -1020,9 +1020,9 @@ <subsection name="JMX Query command"> This takes the form: - <source> +<source> http://webserver/manager/jmxproxy/?qry=STUFF - </source> +</source> Where <code>STUFF</code> is the JMX query you wish to perform. For example, here are some queries you might wish to run: <ul> @@ -1052,9 +1052,9 @@ <subsection name="JMX Set command"> Now that you can query an MBean, its time to muck with Tomcat's internals! The general form of the set command is : - <source> +<source> http://webserver/manager/jmxproxy/?set=BEANNAME&att=MYATTRIBUTE&val=NEWVALUE - </source> +</source> So you need to provide 3 request parameters: <ol> <li><code>set</code>: The full bean name</li> @@ -1064,25 +1064,25 @@ If all goes ok, then it will say OK, otherwise an error message will be shown. For example, lets say we wish to turn up debugging on the fly for the <code>ErrorReportValve</code>. The following will set debugging to 10. - <source> +<source> http://localhost:8080/manager/jmxproxy/ ?set=Catalina%3Atype%3DValve%2Cname%3DErrorReportValve%2Chost%3Dlocalhost&att=debug&val=10 - </source> +</source> and my result is (YMMV): - <source> +<source> Result: ok - </source> +</source> Here is what I see if I pass in a bad value. Here is the URL I used, I try set debugging equal to 'cowbell': - <source> +<source> http://localhost:8080/manager/jmxproxy/ ?set=Catalina%3Atype%3DValve%2Cname%3DErrorReportValve%2Chost%3Dlocalhost&att=debug&val=cowbell - </source> +</source> When I try that, my result is - <source> +<source> Error: java.lang.NumberFormatException: For input string: "cowbell" - </source> +</source> </subsection>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]