Re: Deployment rather than development mode
Re: Deployment rather than development mode
- Subject: Re: Deployment rather than development mode
- From: LD <email@hidden>
- Date: Sat, 1 Oct 2005 17:59:32 +1000
Hi,
On 01/10/2005, at 1:34 PM, Chuck Hill wrote:
On Sep 30, 2005, at 7:15 PM, LD wrote:
On 30/09/2005, at 12:37 PM, Chuck Hill wrote:
1) Get wotaskd running at boot if it is not
2) Enable Personal Web Sharing
3) Launch app with -WODirectConnectEnabled false
4) (optional ease of use thing) add -WOPort 3456 or whatever you
will remember so the URL will be consistent
5) Build and run
I've also set "Installation Build Products Location" to "/".
When running the app it's being installed (as expected, I assume) in:
/Library/WebObjects/Applications/
No need to do that. Just run it from XCode.
But when I connect (having WOAutoOpenInBrowser=true)
http://localhost/cgi-bin/WebObjects/MyApp.woa/-55555
I get a page saying:
No instance available
What am I missing?
How are you launching it?
CMD+R in Xcode.
Seems to me like you are making it far too complicated. It's Apple.
It just works.
But, but... it doesn't ;-)
Just build and run from within Xcode. As long as wotaskd is
running and Apache is running nothing else is needed. It just works.
With WODirectConnectEnabled=true the app loads normally via:
http://localhost:55555/cgi-bin/WebObjects/MyApp.woa
With WODirectConnectEnabled=false I get "No instance available" via:
http://localhost/cgi-bin/WebObjects/MyApp.woa/-55555
with regards,
--
LD
_______________________________________________
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