Re: WO Networking Woes
Re: WO Networking Woes
- Subject: Re: WO Networking Woes
- From: Lachlan Deck <email@hidden>
- Date: Wed, 8 Nov 2006 14:41:25 +1100
Hi there,
On 31/10/2006, at 4:18 AM, Chuck Hill wrote:
Do you actually need to use the machine name? I have had good luck
running everything under localhost. If you want to take a bash at
this:
1. Add -WOHost localhost to your app launch parameters
2. Add -WOHost localhost to /System/Library/WebObjects/
JavaApplications/wotaskd.woa/Contents/Resources/Properties
3. Edit your apache.conf file to use WebObjectsConfig http://
localhost:1085 10
4. Configure JavaMonitor to use localhost as the host name
5. Stop and start Apache, wotaskd, your app
I've recently reloaded my machine and so have unfortunately lost the
other instructions you've previously given on this topic - and am
back with this problem again after over a year of freedom :-/. As far
as I can tell everything is set to localhost but when running the app
(this one's from Xcode) I get:
"The requested URL /cgi-bin/WebObjects/MyApp.woa/-55555 was not
found on this server."
There's got to be a hostname problem somewhere (as the app starts
fine) but it never gets hit.
Any hints? Thanks again... (wotaskd is running. see below)
with regards,
--
Lachlan Deck
$ sudo lsof -i tcp:1085
Password:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 3694 root 7u IPv6 0x01ff27f8 0t0 TCP [::
127.0.0.1]:webobjects (LISTEN)
java 3694 root 10u IPv6 0x01ff1d1c 0t0 TCP [::
127.0.0.1]:webobjects->[::127.0.0.1]:55094 (ESTABLISHED)
java 3966 ldeck 9u IPv6 0x03dd27f8 0t0 TCP [::127.0.0.1]:
55094->[::127.0.0.1]:webobjects (ESTABLISHED)
My Properties file (for MyApp) has
WOAdaptorURL=http://localhost/cgi-bin/WebObjects
WOHost=localhost
WODirectConnectEnabled=NO
WOPort=5555
_______________________________________________
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