• 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
"No Instance available" message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"No Instance available" message


  • Subject: "No Instance available" message
  • From: "Jerry W. Walker" <email@hidden>
  • Date: Fri, 30 Jun 2006 19:06:27 -0400

Hi, guys,

I've been running in development mode for weeks with no problems. I've been running "-WODirectConnectEnabled NO" for several months. Today, when trying to test my app, I got a "No instance available" message.

It seems that none of my apps with "-WODirectConnectEnabled NO" set were being found, though I had no problem starting up a WODirectConnectEnabled app as a test.

After some investigation, I think that my hostname was reset, so setting my apps to "-DWOHost=jwpismo" has solved the immediate problem and I am back in working mode. However, the whole episode leads to some questions to solicit from the community's collected wisdom.

Last night I did a manual iTunes update on my machine, but that's the only software update I've done in over 3 weeks. I've made no other system configuration changes, nor changed any of the app's (or Xcode's) parameters for several days (perhaps weeks). I even avoided the recent Mac OS X v10.4.7 update because it caused some problems for someone I know and I want more info before I apply it to my development machine.

I'm running Mac OS X 10.4.6 on a G4 laptop (upgraded Pismo, actually) with WebObjects 5.3.1 and Xcode 2.3.

Since I often connect this machine to 2 - 3 different networks a day (including running on the commuter train in standalone mode twice a day) I would like a configuration that saves me from having to restart apache or wotaskd. It seems to me that I had resolved this issue by hardcoding "localhost" in /etc/hostconfig and setting "- DWOHost=localhost", but now I find that the hostname line is:

    HOSTNAME=-AUTOMATIC-

So, my questions are:

* Does anyone know if the latest iTunes update resets the hostconfig file or otherwise mucks with the hostname?

* What's the latest black magic incantation for setting all the appropriate hostname parameters so I can just run my apps with WODirectConnectEnabled off?

* Would the following work without causing other issues?
- set /etc/hostconfig's HOSTNAME line to localhost (What's the syntax for that, by the way? double quotes? single quotes? no quotes?)
- leave the System Preferences Sharing panel set to "jwpismo" so my computer can be seen with Bonjour
- set the runtime parameter "-DWOHost=localhost" in all my WO apps
- other settings?


Many thanks to anyone who takes the time out of their holiday weekend to respond to this.

Regards,
Jerry

--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial Strength Internet Enabled Systems


    email@hidden
    203 278-4085        office



_______________________________________________
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: "No Instance available" message
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: How to skip items in a WORepetition ?
  • Next by Date: Re: "No Instance available" message
  • Previous by thread: Re: Application Servers Developer Preview Build 7K248
  • Next by thread: Re: "No Instance available" message
  • Index(es):
    • Date
    • Thread