Changes for page Wonder JavaMonitor and wotaskd
Last modified by Pascal Robert on 2023/08/10 22:21
From version 138.1
edited by David Holt
on 2010/11/26 21:52
on 2010/11/26 21:52
Change comment:
There is no comment for this version
To version 136.1
edited by David Avendasora
on 2010/11/29 19:35
on 2010/11/29 19:35
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.d holt1 +XWiki.avendasora - Content
-
... ... @@ -1,9 +1,32 @@ 1 +{{toc}}{{/toc}} 2 + 1 1 === Introduction === 2 2 3 -wotaskd and JavaMonitor were open sourced when WebObjects 5.4was released in 2007.In 2008 and 2009, the source was modified and included in Project Wonder.This is thelistofadditionsthatwere addedto theWonder versions ofhetools.5 +WebObject's wotaskd and JavaMonitor deployment tools were open sourced in WebObjects 5.4. The source was then quickly modified and included in Project Wonder. Substantial improvements in both functionality and look-and-feel have been made over the years since their release as open source. These improved versions of **wotaskd.woa** and **JavaMonitor.woa** are available as full Wonder applications. 4 4 5 -[[image: LaunchBarScreenSnapz001.png||border="1"]]7 +[[image:WonderJavaMonitor.png||border="1"]] 6 6 9 +=== Where to get them === 10 + 11 +You can either download them pre-built from [[Wonder's Hudson build server>>http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/]] or build them from the source code. 12 + 13 +To build them from the source, simply run the following Command from the Wonder directory at the root of the Wonder source code directory: 14 + 15 +{{code}} 16 +ant frameworks deployment.tools -Dwonder.patch=54 -Ddeployment.standalone=true 17 +{{/code}} 18 + 19 +{{info title="What this command does:"}} 20 + 21 +* *ant*: calls Ant 22 +* *frameworks*: tells Ant to build the "frameworks" target 23 +* *deployment.tools* tells Ant to build the "deployment.tools" target 24 +* *\-Ddeployment.standalone=true*: argument will embed the required Wonder and WebObjects frameworks in the wotaskd.woa 25 + 26 + 27 + 28 +{{/info}} 29 + 7 7 === Statistics === 8 8 9 9 If you call [[http://monitorhost:port/cgi-bin/WebObjects/JavaMonitor.woa/wa/statistics]], the answer send you back statistics, in JSON format, about instances, per application. Sample : ... ... @@ -160,21 +160,3 @@ 160 160 curl -X POST -d "{id: 'otherserver.com',type: 'MHost', osType: 'MACOSX',address: '192.168.20.5', name: 'otherserver.com'}" http://127.0.0.1:56789/apps/WebObjects/JavaMonitor.woa/ra/mHosts.json 161 161 162 162 {{/code}} 163 - 164 -=== Misc === 165 - 166 -The community's improved versions of **wotaskd.woa** and **JavaMonitor.woa** are now available as full Wonder applications. You can download them pre-built from the [[Hudson Wonder build server>>http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/]]. 167 - 168 -Alternatively you can build them from Wonder source and embed the frameworks or copy the frameworks into the //appserver// user home (on OS X 10.5, it's in ///var/empty//). 169 - 170 -If you build everything from Wonder source, you can run : 171 - 172 -{{code}} 173 -ant deployment.tools -Dwonder.patch=54 -Ddeployment.standalone=true 174 -{{/code}} 175 - 176 -Please note that you have to build the Wonder before calling //ant deployment.tools//, if you get classpath errors when building the deployment tools, first run: 177 - 178 -{{code}} 179 -ant frameworks 180 -{{/code}}