Because necessary "return JK_OK"s are missing all over the place in setAttribute(), setting any attribute other than worker ends up with a bogus error message like the following: [Thu Jan 06 22:06:31 2005] [notice] config.setAttribute() Error setting lb: stickySession 1 [Thu Jan 06 22:06:31 2005] [notice] config.update(): done lb: else if (strcmp(name, "attempts") == 0) { lb_priv->attempts = atoi(value); << return JK_OK SHOULD HAVE BEEN HERE >> } return JK_ERR; }
JK2 is deprecated. http://jakarta.apache.org/tomcat/connectors-doc/news/20041100.html#20041115.1