tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42839] New: - iPlanet / SunONE web server tomcat connector connection re-use disabled
Date Mon, 09 Jul 2007 09:19:17 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: asf.bugzilla@daleroberts.info


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message