• 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: [Newbie] Speed of WO - How to set up a reasonable test environment?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie] Speed of WO - How to set up a reasonable test environment?


  • Subject: Re: [Newbie] Speed of WO - How to set up a reasonable test environment?
  • From: Lachlan Deck <email@hidden>
  • Date: Sun, 27 Nov 2005 15:43:54 +1100

Hi there,

On 27/11/2005, at 1:58 PM, Denis Stanton wrote:

On 27/11/2005, at 2:31 PM, Stefan Pantke wrote:

Just upgraded to the most recent XCode/WO release, compiled
the HelloWorld WO sample.

When I run the app, the browser opens this URL:

http://x2.local:49763/cgi-bin/WebObjects/HelloWorld.woa

The slow startup is related to the URL above. Try replacing the server name 'x2.local' with 'localhost'
What you have is the default 'Bonjour" server name. I don't know why WebObjects defaults to this as it is unreasonably slow on a mid- range Mac.

It's only unreasonably slow with a default setup. i.e., when using Safari in Direct Connect mode.


Firefox, for example, will display the page immediately (as should Safari) or any other browser.

Two easy fixes: either swap default browsers or develop in deployment mode as follows...
1) In your Properties file put:
WODirectConnectEnabled=false


I also put the following so that I can keep the one url in a browser open...
WOAutoOpenInBrowser=false
WOPort=55456


2) Make sure that the WebObjects startup item is running ( the default install these days seems to have the startup-item's script with the critical part of the script commented out. See the archives for "deployment rather than development mode").

3) Build and run.

I develop on a MiniMac 1.42 with 1 GB. I upgraded the RAM as soon as I bought it so I don't really know how it would have worked with 512MB but past experience suggest the extra ram improves the experience. I consider it money well spent.

RAM is always good... but the above mentioned problem has nothing to do with RAM or WebObjects, but Safari.


with regards,
--

Lachlan Deck


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >[Newbie] Speed of WO - How to set up a reasonable test environment? (From: Stefan Pantke <email@hidden>)
 >Re: [Newbie] Speed of WO - How to set up a reasonable test environment? (From: Denis Stanton <email@hidden>)

  • Prev by Date: Re: [Newbie] Speed of WO - How to set up a reasonable test environment?
  • Next by Date: [Newbie] Lincensing of WO apps
  • Previous by thread: Re: [Newbie] Speed of WO - How to set up a reasonable test environment?
  • Next by thread: Re: [Newbie] Speed of WO - How to set up a reasonable test environment?
  • Index(es):
    • Date
    • Thread