• 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: Gremlins somewhere but where?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gremlins somewhere but where?


  • Subject: Re: Gremlins somewhere but where?
  • From: Miguel Arroz <email@hidden>
  • Date: Thu, 13 Jul 2006 10:50:00 +0100

Hi!

That problem is related to DNS. For some reason, your "slow" mac is waiting forever from the DNS service to know what "localhost" is.

As I work with multiple WO applications at the same time, and all of them has static content (images, css and stuff) I solve this by creating virtual hosts on my mac, called app1.mac, app2.mac, etc. I then edit the /etc/hosts to make all the app1.mac app2.mac point to 127.0.0.1. It works fine.

Then, in Eclipse, I just adjust the adaptor URL to app1.mac instead of 127.0.0.1 or localhost. I guess that should be doable in xCode too.

  Yours

Miguel Arroz

On 2006/07/13, at 10:14, Gavin Armstrong wrote:

Hi,

I've got two PowerBooks running WebObjects both with exactly the same OS
and software versions. I'm working my way through various tutorials at
work and at home but one machine runs considerably slower than the
other. Slow enough to make it almost unusable. Both machines build the
applications fine but the slow one spends an age "contacting localhost"
when it fires Safari up also each subsequent page hit takes about five
minutes to load. I've copied projects across to the faster machine and
they run no problem. Anyone got any ideas where I could start looking to
chase down the problem. I've been through the log files that I know of -
HTTP access/error/asl.log/system.log - but no clues as yet. I'm thinking
that JavaMonitor may be of use but the word "tutorial" at the start of
this rant should be a clue as to my level of WebObjects experience. The
other clue is that I would like to say a big thankyou to everyone who
replied both on and off list to my last email about WebObjects training.


Oh as an aside - Chuck if you read this how's the book going? I've got
it ordered at Amazon which is telling me delivery by August 3rd. I only
ask 'cos I'm going to book a couple of days off work to go through it
and learn stuff and I need to put the request in pretty soon.


Cheers everybody

Gavin

http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received.
Further communication will signify your consent to this.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40guiamac.com


This email sent to email@hidden


      "GUERRA E' PAZ
       LIBERDADE E' ESCRAVIDAO
       IGNORANCIA E' FORCA"       -- 1984

Miguel Arroz
http://www.ipragma.com



_______________________________________________
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: 
 >Gremlins somewhere but where? (From: "Gavin Armstrong" <email@hidden>)

  • Prev by Date: Re: login security issue
  • Next by Date: EOUtilities.primaryKeyForObject
  • Previous by thread: Gremlins somewhere but where?
  • Next by thread: EOUtilities.primaryKeyForObject
  • Index(es):
    • Date
    • Thread