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 PROTECTED]
    203 278-4085        office



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to