Yes, it remembers which engine sent which jvmroute. It will return the session to that same engine as long as that engine is up.
I don't think the workers names have anything to do with the jvmroute. They can be different. The jvmroute names have to be unique across all engines that are in the load balanced cluster. -e On Tue, 5 Aug 2003, Angus Mezick wrote: > Yup, I guess this is more of a JK2 question. Does it remember which > server returned which jvmroute? Or does jk2 use the worker name somehow. > All examples have them being the same so it is slightly confusing. > > > -----Original Message----- > > From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 05, 2003 11:40 AM > > To: Tomcat Users List > > Subject: Re: Jvmroute and worker names? > > > > > > Hi, > > > > jvmroute names don't equate to the names of the workers in > > your properties > > file. basically all jvmroute does is tack that name on the end of the > > session id so the connector knows what tomcat to send the > > session to in a > > loadbalanced env. It's "sticky" that way. > > > > I'm not sure about the clustering but I had always thought > > that jvmroutes > > had to be unique. That way it wouldn't mistake one server > > for the other. > > > > -e > > > > On Tue, 5 Aug 2003, Angus Mezick wrote: > > > > > Does the name of the JvmRoute in server.xml have to equal > > the name of > > > the host in worker2.properties when linking apache and tomcat to get > > > proper session affinity? > > > > > > Can I have 4 tomcats, each paired together with session > > clustering and > > > identical jvmroutes and then have apache use session > > affinity to send > > > requests correctly to each cluster of 2 tomcats? > > > > > > Sorry for the crosspost. Didn't even get a nibble on users > > yesterday so > > > I am assuming this is deep withing the app. > > > > > > Angus Mezick > > > GuideStar - Philanthropic Research Inc. > > > 427 Scotland St. > > > Williamsburg, Virginia 23185 > > > PHONE: (757)299-4631 x35 FAX:(757)229-8912 > > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > www.guidestar.org <http://www.guidestar.org> > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
