• 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
Re: Using IP as Host in WOMonitor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using IP as Host in WOMonitor


  • Subject: Re: Using IP as Host in WOMonitor
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 11 Oct 2013 03:44:33 +0000
  • Thread-topic: Using IP as Host in WOMonitor

Is that the canonical IP for this machine?  Can it be resolved to the machine vs reverse DNS?



On 2013-10-10 8:41 PM, "Jeffrey Schmitz" wrote:

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>



-- 
Chuck Hill             
Executive Managing Partner, VP Development and Technical Services

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
 _______________________________________________
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: Jeffrey Schmitz <email@hidden>
References: 
 >Using IP as Host in WOMonitor (From: Jeffrey Schmitz <email@hidden>)

  • Prev by Date: Using IP as Host in WOMonitor
  • Next by Date: Re: Session timeout when performing an action
  • Previous by thread: Using IP as Host in WOMonitor
  • Next by thread: Re: Using IP as Host in WOMonitor
  • Index(es):
    • Date
    • Thread