• 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: Deployment rather than development mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Deployment rather than development mode
      • From: Chuck Hill <email@hidden>
  • Next by Date: Re: WO Example does not run
  • Next by thread: Re: Deployment rather than development mode
  • Index(es):
    • Date
    • Thread