• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: One Less Mystery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One Less Mystery


  • Subject: Re: One Less Mystery
  • From: Guido Neitzer <email@hidden>
  • Date: Mon, 14 Jul 2008 21:19:49 -0600

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >One Less Mystery (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: processing incoming e-mails
  • Next by Date: migrations and inserting data
  • Previous by thread: Re: One Less Mystery
  • Next by thread: processing incoming e-mails
  • Index(es):
    • Date
    • Thread