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 2011/04/12 10:11:16 UTC

DO NOT REPLY [Bug 51051] New: add a option let Connector open port after all contexts initialized

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


DO NOT REPLY [Bug 51051] add a option let Connector open port after all contexts initialized

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51051

Tim Whittington <ti...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
         OS/Version|                            |All

--- Comment #1 from Tim Whittington <ti...@apache.org> 2011-04-12 06:06:04 EDT ---
Have a look at the bindOnInit attribute on the connectors.
If you have any questions about server startup, the users list is the best
place to ask.

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