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

From version 125.1
edited by David Avendasora
on 2010/11/29 19:45
Change comment: There is no comment for this version
To version 137.1
edited by David Holt
on 2010/11/26 21:52
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.avendasora
1 +XWiki.dholt
Content
... ... @@ -1,33 +3,9 @@
1 -{{toc}}{{/toc}}
2 -
3 3  === Introduction ===
4 4  
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.
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"]]
5 +[[image:LaunchBarScreenSnapz001.png||border="1"]]
8 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 [[Wonder source code>>WONDER:Download Wonder Source, Build, Install and Upgrade]], simply run the following command from the Wonder directory at the root of the Wonder source.
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 Apache Ant. It is assumed that you have this already installed.
22 -* *frameworks*: tells Ant to build the "frameworks" target. This may not be needed if you already have Wonder built and installed in a location Ant can find automatically.
23 -* *deployment.tools*: tells Ant to build the "deployment.tools" target. This is the target that builds both wotaskd.woa and JavaMonitor.woa. You absolutely need this one.
24 -* *\-Dwonder.patch=54*: tells Wonder to build for WebObjects version 5.4. You need this if you are building against Wonder Trunk. Some branches don't need it, but it doesn't hurt either.
25 -* *\-Ddeployment.standalone=true*: argument will embed the required Wonder and WebObjects frameworks in built applications. You need this to ensure that the required frameworks are embedded in the built applications.
26 -
27 -
28 -
29 -{{/info}}
30 -
31 31  === Statistics ===
32 32  
33 33  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 :
... ... @@ -184,3 +184,21 @@
184 184  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
185 185  
186 186  {{/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}}