non direct connect; server dropping connection
non direct connect; server dropping connection
- Subject: non direct connect; server dropping connection
- From: William Hatch <email@hidden>
- Date: Mon, 14 Jan 2008 13:32:14 -0500
Configuring a new dev machine to use apache instead of direct
connect; Tiger and 5.3.3.
I've modified the apache adaptor to use localhost, set wotaskd to run
on localhost, named the apache server localhost in httpd.conf and
created a start up plist in /Library/LaunchDeamons for wotaskd. In
Eclipse, I've disabled WODirectConnectEnabled, and modified
WOAdaptorURL to http://localhost/cgi-bin/WebObjects, set WOPort
55555, and WOHost localhost. I'm able to get the wotaskd
configuration when hitting http://localhost:1085, and the app tries
to run but Safari kicks back "... can't open the page "http://
127.0.0.1:55555/cgi-bin/WebObjects/myApp.woa" because the server
unexpectedly dropped the connection, which sometimes occurs when the
server is busy. You might be able to open the page later." The log
output from /tmp/WebObjects.log (sudo touch /tmp/logWebObjects) is:
Info: attempting to connect to localhost on port 55555
Info: Webfones:-55555 on (55555) connected [pooled: No]
Info: Request GET /cgi-bin/WebObjects/myApp.woa/-55555 HTTP/1.1
sent, awaiting response
Info: Reading configuration from http://localhost:1085/WebObjects/
wotaskd.woa/wa/woconfig
Info: attempting to connect to localhost on port 1085
Info: Preparing to read config for host: localhost
Info: New response: HTTP/1.0 200 Apple WebObjects
Info: New response: HTTP/1.1 302 Apple WebObjects
Info: received ->302 Apple
Which would appear to be a redirect??
Not sure what to try or what to look at next. Any advice on disabling
direct connect...again? Previous recent posts indicate that this is
getting more difficult in recent versions of WO and I'm thinking I've
missed something illuminating in them. Thanks.
Bill Hatch
Macaulay Library
4-2116
_______________________________________________
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