On Feb 13, 2006, at 9:28 PM, Jeffrey Schmitz wrote:
This is a very simple question that I can't seem to find the answer
to in the Deployment documentation. When I deploy an app with
multiple instances, what URL am I supposed to use such that
connections amont the instances are load-balanced? The only URL I
can figure out how to use are the direct connect ones to a specific
instances, but using one of those as my URL isn't going to allow
load balancing, right?
Correct. First, turn off Direct Connect in deployment unless you
have some (odd) reason for having it on. The URL should not have any
instance number in it:
http://www.domain.com/cgi-bin/WebObjects/MyApp.woa
The woadaptor will talk to wotaskd and choose an appropriate instance
based on how it is doing load balancing. I think you can also use -1
to tell it to do this:
http://www.domain.com/cgi-bin/WebObjects/MyApp.woa/-1
Chuck
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
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-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]