--

At 9:55 PM -0700 6/22/99, Charles Canning wrote:
>We have found a temporary solution to our problem. We are using ServletContext
>getAttributes() with the attribute name org.apache.jserv.JSERV_ROUTE to
>determine how the URL request was routed. The reason for the first post
>and this
>solution was that we were looking for a way to track/map a session to a
>particular JServ running in a multiple JServ environment. If anyone knows of a
>more elegant solution, please let me know. Oh yeah, thanks to everyone who
>offered some insight.

The JSERV_ROUTE attribute was added exactly for that. The load-balancing
that was introduced in b3 lets you define any identifier you want to each
of the JServ instances through tha ApJServRoute, Host, Balance
configuration attributes. This is documented more in faq-o-matic. If you
really need the port information, you can set the ROUTE tag to be the port
numbers. I tend to use more obfuscated routes like 'A','B','C'... since
that tag is appended to the JServID cookie.


Bernie


Bernie Bernstein
Talk City Inc.
voice: 408-871-5320                   Join the Conversation.
email: [EMAIL PROTECTED]      http://www.talkcity.com/




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to