Re: Programmatic URL are Problematic
Re: Programmatic URL are Problematic
- Subject: Re: Programmatic URL are Problematic
- From: Chuck Hill <email@hidden>
- Date: Tue, 18 Nov 2008 21:00:06 -0800
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