Changes for page Wonder JavaMonitor and wotaskd
Last modified by Pascal Robert on 2023/08/10 22:21
From 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
To version 140.1
edited by David Holt
on 2010/11/26 21:48
on 2010/11/26 21:48
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. avendasora1 +XWiki.dholt - Content
-
... ... @@ -1,32 +3,7 @@ 1 -{{toc}}{{/toc}} 2 - 3 3 === Introduction === 4 4 5 - WebObject'swotaskd and JavaMonitordeployment toolswere open sourcedin WebObjects 5.4.The source wasthen quicklymodified and included in Project Wonder.Substantialimprovementsin bothfunctionalityandlook-and-feelhavebeenmade overtheyears since their release asopensource. These improvedversions of **wotaskd.woa** and **JavaMonitor.woa** are available asfull Wonder applications.3 +wotaskd and JavaMonitor were open sourced when WebObjects 5.4 was released in 2007. In 2008 and 2009, the source was modified and included in Project Wonder. This is the list of additions that were added to the Wonder versions of the tools. 6 6 7 -[[image:WonderJavaMonitor.png||border="1"]] 8 - 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 - 30 30 === Statistics === 31 31 32 32 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 : ... ... @@ -183,3 +183,21 @@ 183 183 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 184 184 185 185 {{/code}} 161 + 162 +=== Misc === 163 + 164 +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/]]. 165 + 166 +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//). 167 + 168 +If you build everything from Wonder source, you can run : 169 + 170 +{{code}} 171 +ant deployment.tools -Dwonder.patch=54 -Ddeployment.standalone=true 172 +{{/code}} 173 + 174 +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: 175 + 176 +{{code}} 177 +ant frameworks 178 +{{/code}}