Re: 10.5 WO Migration, Add Host - Invalid Password - Access Denied
Re: 10.5 WO Migration, Add Host - Invalid Password - Access Denied
- Subject: Re: 10.5 WO Migration, Add Host - Invalid Password - Access Denied
- From: Chuck Hill <email@hidden>
- Date: Wed, 19 Dec 2007 18:17:00 -0800
Having a hard time deciphering this. I'll add a few notes.
On Dec 19, 2007, at 4:26 PM, Baiss Eric Magnusson wrote:
My notes below, of my migratory progress, will hopefully help in
solving the problem.
1)
cascadewebdesign com.webobjects.wotaskd[11782]: [2007-12-14 0:14:54
PST] <main> WebObjects version = 5.4
cascadewebdesign com.webobjects.wotaskd[11782]: [2007-12-14 0:14:54
PST] <main> Unable to establish a connection to port 1085 on this
host. Perhaps this port is already in use by another WebObjects
application instance.
...
cascadewebdesign com.webobjects.wotaskd[12078]: Caused by:
com.webobjects.foundation.NSForwardException
[java.net.BindException] Address already in
use:java.net.BindException: Address already in use
I changed in <com.apple.womonitor.plist> the key <Disabled> to be
<true> and the above error persists. Not sure of this, may have had
to throttle down.
What does that last mean?
Are there places other than the 2 <plist> files in the
LaunchDeamons, com.apple.wotaskd and/or com.apple.womonitor, that
start-up wotaskd?
If this is an upgraded machine, check the SystemStarter stuff.
If I make the 10.5 box the DNS server, by switching the Ethernet
cables, the <wotaskd> error goes away, I guess I understand that.
I don't.
Why is <cascadewebdesign.com> the address of wotaskd>, see below:
That must be the canonical name of that machine.
***********************************************
2)
If I do <http://216.162.201.228:1085> I get the page "Wotaskd for
WebObjects 5"
....
Adaptor Config as sent to Local WOAdaptors - All Running
Applications and Instances
<?xml version="1.0" encoding="ASCII"?>
<adaptor>
<application name="JavaMonitor">
<instance id="-56789" port="56789" host="cascadewebdesign.com"/>
</application>
</adaptor>
I don't see the field <host> in <com.apple.womonitor.plist> so I
don't know where the host name <cascadewebdesign.com> (which is me)
is coming from in the above?
Reverse DNS lookup of the IP address?
When I look in the Server start-up log I see part-way thru the
startup that <localhost> gets changed to <cascadewebdesign> by
process <named>, is this to be expected and what file is <named>
using to make the change?
***********************************************
3)
I'm trying to set up a 10.5 server running DNS services via Apache
and FrontBase (I finally got the DNS services up, last problem was
that Server Admin had written site files with port 16080 specified
rather than port 80 as I require, some virtual host specification
caused the error, no doubt).
No, that was webperfcache.
Goal: The old 10.4 server will continue to run WebObjects 5.3 and
all the five deployed WOApplications, it is currently running
wotaskd and JavaMonitor, FrontBase, and Apache all together.
I have no idea if you can mix WO 5.3 and 5.4 deployment.
On 10.5:
/System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
and the line
WebObjectsConfig http://localhost:1085 10
So I changed the line in <apache.conf> on 10.5 box to:
WebObjectsConfig http://216.162.201.227:1085,http://
216.162.201.228:1085 10
In both cases if I try to add the 10.4 box as a Host from the
JavaMonitor page on the 10.5 box, I get:
(ISP Name): Invalid Password - Access Denied
Check /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf for
the password config.
Again, this might be a 5.4 + 5.3 compatibility issue.
The above is, at least outwardly, my major problem.
Same error occurs, but with no <wotaskd> thrown Exception, if I
switch boxes.
Why can't I add a second Host?
***********************************************
5)
I see:
</Local/Library/WebObjects/Configuration/SiteConfig.xml > and it
has the privileges <_appserver _appserveradm>, why is this?
BTW: a message gets thrown during start-up, but I assume I can
ignore it.
localhost com.apple.launchd[1] (com.apple.webobjects.wotaskd[68]):
Suspicious setup: User "appserver" maps to user: _appserver
sudo serveradmin stop webobjects
Even if I do the above the exceptions keep being thrown as I look
at <system.log>, I notice the preceding sets the <Disabled> key to
<true> in <com.apple.wotaskd.plist>.
It seems to me that I can run JavaMonitor without having <wotaskd>
running? Is this correct?
Yes.
If I get to the JavaMonitor page for the 10.4 box I see no
information on the <Site> pane, do I need to fill this out for the
10.5 box to be able to add the 10.4 box as a Host?
What do I need to do to the 10.4 box? That is I feel it is in
conflict with the 10.5 box, both are OS X Servers, but the sites
can only be referenced by one computer on the subnet.
Is this the reason behind the <Invalid Password>?
Chuck
--
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/products/practical_webobjects
_______________________________________________
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