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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to