Hi All,
I'm trying to change the host specified in WOMonitor from localhost to the IP of my machine, so that I can eventually manage multiple load balanced applications on multiple machines from a single WOMonitor.
To do this, I deleted the localhost host from WOmonitor and added a host by specifying the local IP of the machine (192.168.11.200). I also changed the WOHost entry in the /Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
file from localhost to the local ip. I then re-add my application back into WOMonitor, and restart the machine just to start fresh.
However, when I try to start the application, JavaMonitor doesn't seem to be able to start it. The only log message I see is in the womonitor.log file:
Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused
What piece of hocus pocus am I missing to be able to start using something other than localhost as my Host?
Thanks,
Jeff
/Library/LaunchDaemons/com.apple.webobjects.womonitor.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>GroupName</key>
<string>appserverusr</string>
<key>Label</key>
<string>com.apple.webobjects.womonitor</string>
<key>OnDemand</key>
<false/>
<key>Program</key>
<string>/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor</string>
<key>ProgramArguments</key>
<array>
<string>JavaMonitor</string>
<string>-WOPort</string>
<string>56789</string>
<string>-_DeploymentDebugging</string>
<string>true</string>
</array>
<key>ServiceIPC</key>
<false/>
<key>UserName</key>
<string>appserver</string>
<key>StandardOutPath</key>
<string>/Library/WebObjects/Logs/womonitor.log</string>
<key>StandardErrorPath</key>
<string>/Library/WebObjects/Logs/womonitor.err</string>
</dict>
</plist>
com.apple/webobjects.wotaskd.plist
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>GroupName</key>
<string>appserverusr</string>
<key>Label</key>
<string>com.apple.webobjects.wotaskd</string>
<key>OnDemand</key>
<false/>
<key>Program</key>
<string>/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd</string>
<key>ProgramArguments</key>
<array>
<string>wotaskd</string>
<string>-WOPort</string>
<string>1085</string>
<string>-_DeploymentDebugging</string>
<string>true</string>
</array>
<key>ServiceIPC</key>
<false/>
<key>UserName</key>
<string>appserver</string>
<key>StandardOutPath</key>
<string>/Library/WebObjects/Logs/womonitor.log</string>
<key>StandardErrorPath</key>
<string>/Library/WebObjects/Logs/womonitor.err</string>
</dict>
</plist>