Re: Application Configuration Strings
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