DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26540>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26540 Load balanced sessions not sticking to a server when a tomcatId contains a period Summary: Load balanced sessions not sticking to a server when a tomcatId contains a period Product: Tomcat 4 Version: Unknown Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: Connector:Coyote JK 2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I was having a problems with my sessions not sticking to the correct web server in a load balanced cluster. If I set tomcatId/jvmRoute to a value that does not contain a period, the problem goes away. I'm using Apache 2.0.47 with JK 2.0.2. ---- Example error configuration ---- # This configuration appears to fail because the jvmRoute becomes # server.mydomain.com:8009 (contains . characters). [shm:] file=${serverRoot}/logs/jk2.shm size=1048576 [lb:load_balancer] [channel.socket:server.mydomain.com:8009] port=8009 host=server.mydomain.com group=load_balancer lb_factor=1 [channel.socket:server.mydomain.com:8019] port=8019 host=server.mydomain.com group=load_balancer lb_factor=1 [uri:/test/*] group=lb:load_balancer ---- Example working configuration (using localhost) ---- # This configuration works because it constructs a jvmRoute that # looks like localhost:8009 (no periods). [shm:] file=${serverRoot}/logs/jk2.shm size=1048576 [lb:load_balancer] [channel.socket:localhost:8009] port=8009 host=localhost group=load_balancer lb_factor=1 [channel.socket:localhost:8019] port=8019 host=localhost group=load_balancer lb_factor=1 [uri:/test/*] group=lb:load_balancer ---- Example working configuration (using tomcatId) ---- # This configuration works because the tomcatId sets the jvmRoute # to server1 (no periods). [shm:] file=${serverRoot}/logs/jk2.shm size=1048576 [lb:load_balancer] [channel.socket:server.mydomain.com:8009] port=8009 host=server.mydomain.com group=load_balancer lb_factor=1 tomcatId=server1 [channel.socket:server.mydomain.com:8019] port=8019 host=server.mydomain.com group=load_balancer lb_factor=1 tomcatId=server2 [uri:/test/*] group=lb:load_balancer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]