• 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:13:17 -0700


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.


It is.

The contents:
WOAutoOpenInBrowser=false
#WOAutoOpenClientApplication=true
WOPort=55555
#WODebuggingEnabled=true
#WODirectConnectEnabled=true
#WOAllowRapidTurnaround=true
#WOSessionTimeOut=3600
#WOAllowsConcurrentRequestHandling=false
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
...

Whereas, if I set these properties via Application's constructor I'd see:
[...] The URL for webserver connect is:
http://localhost/cgi-bin/WebObjects/MyAppName.woa/-55555
The URL for direct connect is:
http://localhost:55555/cgi-bin/WebObjects/MyAppName.woa
...


Any other ideas?

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

WOHost = localhost


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
  • Follow-Ups:
    • Re: Application Configuration Strings
      • From: LD <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>)

  • Prev by Date: Re: Application Configuration Strings
  • Next by Date: Re: Automatically create record in a to-one relationship
  • Previous by thread: Re: Application Configuration Strings
  • Next by thread: Re: Application Configuration Strings
  • Index(es):
    • Date
    • Thread