• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using IP as Host in WOMonitor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using IP as Host in WOMonitor


  • Subject: Using IP as Host in WOMonitor
  • From: Jeffrey Schmitz <email@hidden>
  • Date: Thu, 10 Oct 2013 22:41:25 -0500

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>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using IP as Host in WOMonitor
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WOWODC 2014: more details
  • Next by Date: Re: Using IP as Host in WOMonitor
  • Previous by thread: Re: Java Monitor configuration not working under windows
  • Next by thread: Re: Using IP as Host in WOMonitor
  • Index(es):
    • Date
    • Thread