Changes for page Wonder JavaMonitor and wotaskd
Last modified by Pascal Robert on 2023/08/10 22:21
From version 129.1
edited by David Avendasora
on 2010/11/29 19:56
on 2010/11/29 19:56
Change comment:
There is no comment for this version
To 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
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. avendasora1 +XWiki.dholt - Content
-
... ... @@ -1,37 +5,9 @@ 1 -[[image:WonderJavaMonitor.png||border="1"]] 2 - 3 -{{toc}}{{/toc}} 4 - 5 5 === Introduction === 6 6 7 -JavaMonitor is aweb-basedtool usedtoconfigureandmaintaindeployedWebObjectsapplications.It iscapableof handlingmultipleWebObjectsapplications,multipleinstances ofachapplication, andmultipleWebObjectsApplications Servers.In most cases you'llhave oneinstanceof JavaMonitorcontrollingallinstancesofyourapplications,even iftheyarespreadacrossmultipleApplicationServers.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. 8 8 9 - wotaskd (WebObjects task daemon)is the WebObjects Deployment tool that manages the instances onan ApplicationServer. It's used by Monitor topropagate site configuration changes throughout thesite's application hosts.5 +[[image:LaunchBarScreenSnapz001.png||border="1"]] 10 10 11 -Apple released the original wotaskd and JavaMonitor to the community as open source 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. These improved versions of **wotaskd.woa** and **JavaMonitor.woa** are available as standard Wonder applications. 12 - 13 -=== Where to get them === 14 - 15 -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. 16 - 17 -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. 18 - 19 -{{code}} 20 -ant frameworks deployment.tools -Dwonder.patch=54 -Ddeployment.standalone=true 21 -{{/code}} 22 - 23 -{{info title="What this command does:"}} 24 - 25 -* *ant*: calls Apache Ant. It is assumed that you have this already installed. 26 -* *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. 27 -* *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. 28 -* *\-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. 29 -* *\-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. 30 - 31 - 32 - 33 -{{/info}} 34 - 35 35 === Statistics === 36 36 37 37 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 : ... ... @@ -188,3 +188,21 @@ 188 188 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 189 189 190 190 {{/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}}