Re: Build and Run to localhost instead of domain name?
Re: Build and Run to localhost instead of domain name?
- Subject: Re: Build and Run to localhost instead of domain name?
- From: Rob Lockstone <email@hidden>
- Date: Sat, 27 Dec 2003 14:47:53 -0800
Thanks to both David and Denis. WOHost and WOPort in the
Resources->Properties file is exactly what I needed.
But that leads me to another question. The Properties file states, in
part, "The properties listed are only examples, and are not intended to
be comprehensive." Is there a comprehensive list somewhere, complete
with definitions of what the various properties do? I've only been
through a small portion of the WebObjects documentation, but a quick
search for "WOHost" and "WOPort" in the other docs that I have, but
have not yet read, don't yield any results.
Is there something similar to Xcode's "Build Settings Notes" or "Expert
Preferences Notes" for WebObjects?
Rob
On Dec 27, 2003, at 12:22, David Teran wrote:
Forgive me if this is a FAQ. I couldn't find any mention in the list
archives, but that may be because I didn't think up a good enough
query.
I've been playing around with WebObjects, going through the docs and
doing the examples. I've found that whenever I "Build and Run" a Web
Objects Web Application project from Xcode, it always uses a URL
which incorporates the internet domain name of my machine, e.g.:
http://MyHostName.com:55245/cgi-bin/WebObjects/MyProject.woa
It also picks some random port number. Well, I have both a hardware
firewall, and the OS X firewall running. So of course this never
works. I always have to change MyHostName to localhost, and then it
works.
I also see this in the Run window:
Created adaptor of class WODefaultAdaptor on port 55245 and address
MyHostName.com/192.168.1.2 with WOWorkerThread minimum of 16 and
maximum of 256
I couldn't find any documentation on WODefaultAdaptor either. Is
there some setting somewhere that I could change so that the
WODefaultAdaptor uses 'localhost'? Alternatively, is there a way I
could tell it to always use the same port number? At least that way I
could open up a hole in my firewalls for that port and then it would
work.
look at the Properties file.
to change the port:
WOPort=9080
WOHost=localhost
thats all.
David
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.