You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/01/06 14:09:27 UTC

DO NOT REPLY [Bug 32963] New: - lb setAttribute() spews bogus errors

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32963>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32963

           Summary: lb setAttribute() spews bogus errors
           Product: Tomcat 4
           Version: 4.1.31
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Connector:Coyote JK 2 (deprecated)
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: moriyoshi@at.wakwak.com


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;
}

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org