Last modified by Pascal Robert on 2023/08/10 22:21

From version 170.1
edited by pyu
on 2012/04/28 00:11
Change comment: There is no comment for this version
To version 172.1
edited by Pascal Robert
on 2012/08/09 11:42
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.pyu
1 +XWiki.probert
Content
... ... @@ -14,7 +14,7 @@
14 14  
15 15  You can either download them pre-built from [[Wonder's Jenkins build server>>http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/]] or build them from the source code.
16 16  
17 -To build them from the [[Wonder source code>>WONDER:Getting the Wonder Source Code]], simply run the following command from the Wonder directory at the root of the Wonder source.
17 +To build them from the [[Wonder source code>>Getting the Wonder Source Code]], simply run the following command from the Wonder directory at the root of the Wonder source.
18 18  
19 19  {{code}}
20 20  ant frameworks deployment.tools -Ddeployment.standalone=true
... ... @@ -102,15 +102,17 @@
102 102  
103 103  {{/code}}
104 104  
105 -{{code}}
105 +{{info}}
106 106  
107 107  If JavaMonitor is configured with a password, and I hope you do, pass _pw=monitorpassword_ as a argument to the query :
108 108  
109 -{{[http://monitorhost:port/cgi-bin/WebObjects/JavaMonitor.woa/wa/statistics?pw=monitorpassword]}}
109 +{code}
110 +http://monitorhost:port/cgi-bin/WebObjects/JavaMonitor.woa/wa/statistics?pw=monitorpassword
110 110  
111 -{{[wget http://monitorhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=app&name=InstanceName&pw=yourPassword]}}
112 +wget http://monitorhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=app&name=InstanceName&pw=yourPassword
113 +{code}
112 112  
113 -{{/code}}
115 +{{/info}}
114 114  
115 115  ==== Direct Actions for Management Tasks ====
116 116  
... ... @@ -192,7 +192,7 @@
192 192  
193 193  ==== Remote Control via REST Routes ====
194 194  
195 -If the control offered by the Direct Actions isn't enough, JavaMonitor allows additional control via [[REST>>WONDER:ERRest Framework]] calls. Between the two methods (Direct Actions, REST) you have almost full remote-control of JavaMonitor. Just make sure that your JavaMonitor installation is secure Just like with Direct Actions, you need to append ##?pw=XXXX## to the URLs if your JavaMonitor is password protected.
197 +If the control offered by the Direct Actions isn't enough, JavaMonitor allows additional control via [[REST>>ERRest Framework]] calls. Between the two methods (Direct Actions, REST) you have almost full remote-control of JavaMonitor. Just make sure that your JavaMonitor installation is secure Just like with Direct Actions, you need to append ##?pw=XXXX## to the URLs if your JavaMonitor is password protected.
196 196  
197 197  Examples of REST calls :
198 198  
... ... @@ -240,6 +240,10 @@
240 240  
241 241  Note that before configuring the site you must first add a host. If you attempt to configure the site prior to adding a host you will get an InvalidStateException.
242 242  
245 +{{info}}
246 +Starting on August 9th 2012 (in the integration branch of Wonder), the REST routes are also available in wotaskd.
247 +{{/info}}
248 +
243 243  === Troubleshooting ===
244 244  
245 -If JavaMonitor won't start up check the [[troubleshooting deployment>>WO:Troubleshooting Deployment]] section. In particular pay attention to the [[WOTaskd Didn't Start>>WO:Troubleshooting Deployment]] Q&A.
251 +If JavaMonitor won't start up check the [[troubleshooting deployment>>Troubleshooting Deployment]] section. In particular pay attention to the [[WOTaskd Didn't Start>>Troubleshooting Deployment]] Q&A.