• 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: Jeffrey Schmitz <email@hidden>
  • Date: Sat, 12 Oct 2013 09:59:45 -0500

OK, I tried it on a machine with a domain name, and still no go  JavaMonitor did add the host, and showed the right reverse DNS IP address, but this time it says it can't contact the host-1085.  I did try rebooting the machine but no love.  I also went back and tried with a localhost host again, and that still works fine.




On Oct 11, 2013, at 8:04 PM, Chuck Hill <email@hidden> wrote:

I don;t know if you will have much luck with that.  IIRC, it does not play nice with .local names.  Take a look at WOHostUtilities.  That might be what you need.

On 2013-10-11 5:54 PM, "Jeffrey Schmitz" wrote:

I don't think so, it's just the straight up IP address on my local network.  There is no domain currently mapped to the machine, I'm just doing some internal testing with it right now.  It does have a local name that mac os networking assigns to it (lionserver.local).

Jeff

On Oct 10, 2013, at 10:44 PM, Chuck Hill <email@hidden> wrote:

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!



-- 
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: Klaus Berkling <email@hidden>
    • Re: Using IP as Host in WOMonitor
      • From: Chuck Hill <email@hidden>
References: 
 >Re: Using IP as Host in WOMonitor (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: D2W and Boolean Queries
  • Next by Date: Re: Using IP as Host in WOMonitor
  • Previous by thread: Re: Using IP as Host in WOMonitor
  • Next by thread: Re: Using IP as Host in WOMonitor
  • Index(es):
    • Date
    • Thread