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=42839>.
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=42839

           Summary: iPlanet / SunONE web server tomcat connector connection
                    re-use disabled
           Product: Tomcat 5
           Version: Unknown
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:JK
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The native tomcat connector for iPlanet / SunONE Web Server does not re-use
connections to back end tomcat servers.

Version: tomcat-connectors-1.2.23-src
Component: netscape connector
Web Server: Sun ONE Web Server 6.1SP4 B01/20/2005 17:43


Below are a couple of log messages that were recorded when using the connector
with debug logging:
  Available Source CODE:
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    [Mon Jul 09 10:16:18 2007] [27363:0169] [debug] jk_ajp_common.c (1499):
AJP13 protocol: Reuse is disabled
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  After below UPDATE:
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    [Mon Jul 09 10:17:29 2007] [27409:0169] [debug] jk_ajp_common.c (1506):
AJP13 protocol: Reuse is OK
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

This appears to be a result of NOT having the follwowing line in the setup
section of the init_ws_service function of the jk_nsapi_plugin.c file:

    s->disable_reuse = JK_FALSE;

Below is the result of a "diff -c" of the oringinal and new files I used to "un
disable" connection pooling which from initial testing appears to work and
provide greater performacne and stability under heavy load:

*** jk_nsapi_plugin.c   Sun Jan 28 21:10:33 2007
--- jk_nsapi_plugin.c.new       Mon Jul  9 10:01:19 2007
***************
*** 372,377 ****
--- 372,378 ----
      s->write = ws_write;
      s->flush = NULL;
  
+     s->disable_reuse = JK_FALSE;
      /* Clear RECO status */
      s->reco_status = RECO_NONE;

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