• 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: Programmatic URL are Problematic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatic URL are Problematic


  • Subject: Re: Programmatic URL are Problematic
  • From: Joe Moreno <email@hidden>
  • Date: Wed, 19 Nov 2008 22:49:10 -0800

Thanks, Chuck and cug. WOHost was the problem.

- Joe

On Nov 18, 2008, at 21:00:06, Chuck Hill wrote:


On Nov 18, 2008, at 8:27 PM, Joe Moreno wrote:

Hi All,

Is there a way for context().completeURLWithRequestHandlerKey() to return 127.0.0.1?

I'm running WO 5.3.x in dev on 10.5.5 with Eclipse 3.3.2 & WOLips 3.3.5047.

I ran several OS X updates on the dev machine and now it seems that context().completeURLWithRequestHandlerKey(), which returns the BonJour host name, hangs. I have to manually replace the BonJour host name with 127.0.0.1 to continue to the next page on the dev machine.

The app launches from Eclipse just fine with 127.0.0.1. In dev, the SSL links need to be http so the code checks to see if it's in dev or deployment mode by checking if Application.isDirectConnectEnabled() (bound to isSecure and negated). This has worked fine in the past - the URL to the WO app simply changed from 127.0.0.1 to the BonJour.local host name when returning http (non secure) dev links instead of https, but now, for some reason, the BonJour host name hangs in the web browser.

Try launching with -WOHost localhost or -DWOHost=localhost

Chuck


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific 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: 
 >Programmatic URL are Problematic (From: Joe Moreno <email@hidden>)
 >Re: Programmatic URL are Problematic (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: EO Table creation failing
  • Next by Date: Re: halp?
  • Previous by thread: Re: Programmatic URL are Problematic
  • Next by thread: Error generating SQL in WOLips
  • Index(es):
    • Date
    • Thread