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

From version 158.1
edited by simon
on 2010/12/01 07:53
Change comment: There is no comment for this version
To version 161.1
edited by simon
on 2010/12/01 07:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -220,20 +220,14 @@
220 220  
221 221  {{/code}}
222 222  
223 -{{code title="Delete an Instance"}}
223 +{{code title="Delete an Instance :"}}
224 224  
225 225  curl -X GET http://monitorhost:port/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications/AjaxExample/deleteInstance?id=1
226 226  
227 227  {{/code}}
228 228  
229 -{{code title="Configuring the Site"}}
229 +{{code title="Adding a New Instance"}}
230 230  
231 231  curl -X PUT -d "{woAdaptor:'www.mydomain.com'}" http://monitorhost:port/cgi-bin/WebObjects/JavaMonitor.woa/ra/mSiteConfig.json
232 232  
233 233  {{/code}}
234 -
235 -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.
236 -
237 -=== Troublshooting ===
238 -
239 -If JavaMonitor did not start on your fresh install of WebObjects, check out the WOTaskd Didn't Start question in the troubleshooting section.