Re: Network change
Re: Network change
- Subject: Re: Network change
- From: Chuck Hill <email@hidden>
- Date: Thu, 29 Mar 2007 20:45:32 -0700
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
_______________________________________________
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