Hi Johann,

On 01/02/2009, at 1:00 AM, Johann Werner wrote:

If I run the app from the command line, I get this in the log:

Your application's URL is:
http://[host]:46670/cgi-bin/WebObjects/AM.woa

that is a direct connect URL. You access your app directly at port 46670.

Ah, so it is.  I was misreading this:

http://developer.apple.com/documentation/WebObjects/Deployment/Deploying_Applications/ApplicationURL/chapter_8_section_2.html#/ /apple_ref/doc/uid/TP30001009-CH215-DontLinkElementID_1

where [host] is some non-local hostname. To me, this looks like deployment mode, and I can access the app at that URL.

If I fire up an instance of the exact same app using JavaMonitor, I get this in the log:

Jan 31 05:15:09 AM[2001] DEBUG NSLog - The URL for webserver connect is:
http://[host]/cgi-bin/WebObjects/AM.woa/-2001

This is a non direct connect URL. By using "http" your browser assumes port 80 automatically thus going to apache. The part "-2001" tells your adaptor to direct your request to a specific instance instead of a randomly selected one (if you have more than one instance configured).

Right, so this is how that's described in the deployment docs: "Connect through the web server to a development application—an application that is running but not deployed."

So I would say everything is fine :-)

It certainly seems to be now. The original problem was that I couldn't connect to the deployed instance via the adaptor---all I got was the application-not-found or no-instance-available messages. It's working now, but it's not clear to me why.


--
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


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

This email sent to arch...@mail-archive.com

Reply via email to