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 51051] New: add a option let Connector open port after all contexts initialized
Date Tue, 12 Apr 2011 08:11:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51051

           Summary: add a option let Connector open port after all
                    contexts initialized
           Product: Tomcat 7
           Version: unspecified
          Platform: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: zhouyanming@gmail.com


currently,tomcat will open port first,it will block browser and waiting until
context initialized,it's reasonable.

but if I'm using many tomcats behind web server like nginx,I want to upgrade my
webapp so I need restart half of tomcats then restart the other half for high
availability, the problem is nginx will forward request to those tomcats that
haven't full started,request blocked and user need wait,it break high
availability.

maybe we need add a attribute like listeningAfterAllContextInitialized for
Connector,default value is false for compatibility,name is to be discussed.

<Connector port="8080" listeningAfterAllContextInitialized="true"  .../>

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

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


Mime
View raw message