On Oct 12, 2013, at 7:59 AM, Jeffrey Schmitz <[email protected]> wrote:

> 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.

What does "sudo lsof -i tcp:1085" say?

Something like this (for -WOHost localhost)?

        java    16002 _appserver   75u  IPv6 0xa2c30831faa2aa21      0t0  TCP 
localhost:webobjects (LISTEN)

If I set -WOHost to my IP address it gets resolved and looks like this:

        java    16063 _appserver   73u  IPv6 0xa2c30831faa2a261      0t0  TCP 
kib-mobile-4:webobjects (LISTEN)


> 
> 
> 
> 
> On Oct 11, 2013, at 8:04 PM, Chuck Hill <[email protected]> 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 protected]> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40berkling.us
> 
> This email sent to [email protected]



kib

Klaus Berkling
www.berkling.us | @kiberkli



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to