• 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: Dev vs Deploy with completeURLWithRequestHandlerKey
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dev vs Deploy with completeURLWithRequestHandlerKey


  • Subject: Re: Dev vs Deploy with completeURLWithRequestHandlerKey
  • From: Greg Hulands <email@hidden>
  • Date: Fri, 21 Oct 2005 12:02:21 +1000

That would explain the no difference in the url generation. But now when I try to connect it says no instance available.

http://localhost/cgi-bin/WebObjects/ShoeBox.woa/-50212

Greg
On 21/10/2005, at 11:51 AM, Chuck Hill wrote:


On Oct 20, 2005, at 6:44 PM, Greg Hulands wrote:


Hi,
When using context().completeURLWithRequestHandlerKey() when developing locally, it sets the host name to my bonjour name, iBook.local, so that everytime I try and use the completeURLWithRequestHandlerKey method, it puts in iBook.local instead of localhost. I have tried launching with -DWOHost localhost



I'm not sure if that is a typo or not, but there are two forms for this and you can't mix them:


-WOHost localhost
-DWOHost=localhost

If you use -D you must use an = sign as this is the Java way of defining values. The first one is the traditional WO way.

Chuck



, but it doesn't seem to change anything. Currently I have in the method that uses completeURLWithRequestHandlerKey 2 lines, one commented out and the other active and I just switch the commented line depending if I am running local or deploying. The problem I have with this current situation is that I can sometimes forget to switch the lines, so when I deploy it returns localhost, instead of the real domain.

I have searched the archives but could not find any resembelance to my problem.

Any helps is greatly appreciated.

Regards,
Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden



--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


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
  • Follow-Ups:
    • Re: Dev vs Deploy with completeURLWithRequestHandlerKey
      • From: Chuck Hill <email@hidden>
References: 
 >Dev vs Deploy with completeURLWithRequestHandlerKey (From: Greg Hulands <email@hidden>)
 >Re: Dev vs Deploy with completeURLWithRequestHandlerKey (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Dev vs Deploy with completeURLWithRequestHandlerKey
  • Next by Date: Re: Dev vs Deploy with completeURLWithRequestHandlerKey
  • Previous by thread: Re: Dev vs Deploy with completeURLWithRequestHandlerKey
  • Next by thread: Re: Dev vs Deploy with completeURLWithRequestHandlerKey
  • Index(es):
    • Date
    • Thread