On 14.07.2008, at 17:27, Mike Schrag wrote:

If your CGI adaptor URL is http://127.0.0.1/cgi-bin/WebObjects, at runtime, WOApplication converts that to http:// <application.hostAddress()>/cgi-bin/WebObjects. If you CGI adaptor URL is http://localhost/cgi-bin/WebObjects, at runtime, WOApplication converts that to http://<application.host()>/ cgi-bin/WebObjects.

I stumbled over that when I was writing the class material for the Big Nerd Ranch class: one of the tips there is to use WebServer connect and as this is a bitch to setup in WO 5.4 if you don't know how that all belongs together I stumbled over a couple of things ...

The things I always do, when I setup a dev machine:

1. Tell wotaskd to use localhost as the WOHost

2. Set the host and the adaptor URL in JavaMonitor (easiest way probably) to point to localhost

3. Set the Eclipse --> Preferences --> WOLips --> Launch to use that an adaptor URL with localhost, -WOHost localhost, and, last but not least, to a fixed port as starting apps with random port on 5.4 with WebServer connect doesn't work properly ...

That has also the advantage of having only one instance running for newbies and not ten or twenty ... ;-)

cug

--
http://www.event-s.net

--
http://www.event-s.net

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

This email sent to [EMAIL PROTECTED]

Reply via email to