• 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: Application Configuration Strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application Configuration Strings


  • Subject: Re: Application Configuration Strings
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 27 Jun 2005 18:44:17 -0700


On Jun 27, 2005, at 6:28 PM, LD wrote:
On 28/06/2005, at 11:13 AM, Chuck Hill wrote:
On Jun 27, 2005, at 5:47 PM, LD wrote:

There is no trick, it should just work. Check the built .woa and ensure that the Properties file is getting included.

WOCGIAdaptorURL=http://localhost/cgi-bin/WebObjects
WOApplicationBaseURL=http://localhost/cgi-bin/WebObjects

Yet, when I launch I see:
[...] The URL for webserver connect is:
http://LDs-Mac.local/cgi-bin/WebObjects/MyAppName.woa/-55555
The URL for direct connect is:
http://LDs-Mac.local:55555/cgi-bin/WebObjects/MyAppName.woa
...

Any other ideas?


Finally, yes. :-) URL generation is, well, odd. Add this property

WOHost = localhost


Great; that worked.
But it is still, well, odd that the other properties had no effect... (a bug perhaps?)



Yes, a bug. I think. I looked at this a while back and it seemed that different parts of the code were using different ways of getting the host name. IIRC, this is mostly a development issue.


Chuck

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development 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
References: 
 >Strings and the Properties file (From: LD <email@hidden>)
 >Re: Application Configuration Strings (From: LD <email@hidden>)
 >Re: Application Configuration Strings (From: Chuck Hill <email@hidden>)
 >Re: Application Configuration Strings (From: LD <email@hidden>)
 >Re: Application Configuration Strings (From: Chuck Hill <email@hidden>)
 >Re: Application Configuration Strings (From: LD <email@hidden>)

  • Prev by Date: Re: Application Configuration Strings
  • Next by Date: Re: binding trouble
  • Previous by thread: Re: Application Configuration Strings
  • Next by thread: Deployment on linux
  • Index(es):
    • Date
    • Thread