• 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: Network change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network change


  • Subject: Re: Network change
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 30 Mar 2007 07:49:41 -0700

In case it is not obvious, you need to edit
/System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/ Resources/Properties
and add this line:
WOHost=localhost


And, of course, restart wotaskd after that.

Mike mentioned editing /etc/httpd/httpd.conf and setting
ServerName localhost

I just checked and I also have that setting. I don't recall if it is required or not, but it seems like a good idea.

Chuck


On Mar 30, 2007, at 6:25 AM, Kieran Kelleher wrote:

I have been using my Bonjour hostname "kieranbook.local". I will try localhost.

Thanks, Kieran

On Mar 29, 2007, at 11:45 PM, Chuck Hill wrote:

What do you use for a host name? I have set my wotaskd to run under localhost and also launch my apps with -WOHost localhost.

Chuck


On Mar 29, 2007, at 8:28 PM, Kieran Kelleher wrote:

I am sure anyone with a laptop sees the "No instance available" problem often when they move from one network to another. Whenever I see this after moving networks, I run the following script which used to work 99% of the time on my old Macbook Pro, but doing something similar on new Core 2 Duo MBP does not seem to work so well anymore and sometimes a reboot is all that works. Any suggestions as to additional stuff I can reset/restart or other variations of this that works well to get rid of the "No instance available" message when switching networks on my dev laptop? Anyone care to share their "fix it" scripts?

#!/bin/bash

if [ `whoami` != "root" ]; then
  echo "You must be root to use this!"
  exit 1
fi

echo "Stopping Apache..."
apachectl stop

echo "Stopping WebObjects..."
/System/Library/StartupItems/WebObjects/WebObjects stop

echo "sleep 1 (seconds)"
sleep 1

echo "Starting WebObjects..."
/System/Library/StartupItems/WebObjects/WebObjects start

echo "Starting Apache..."
apachectl start

echo "Done."

_______________________________________________
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


--

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









--

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: Network change
      • From: Kieran Kelleher <email@hidden>
References: 
 >Network change (From: Kieran Kelleher <email@hidden>)
 >Re: Network change (From: Chuck Hill <email@hidden>)
 >Re: Network change (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: snapshot does not contain value for attribute named x with snapshot key: x ?
  • Next by Date: Best non-Apple platform for WO?
  • Previous by thread: Re: Network change
  • Next by thread: Re: Network change
  • Index(es):
    • Date
    • Thread