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 48039] New: org.apache.catalina.core.StandardService start method doesn't return when it has started already
Date Thu, 22 Oct 2009 02:12:55 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48039

           Summary: org.apache.catalina.core.StandardService start method
                    doesn't return when it has started already
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: qingyang.xu@qunar.com


Below is the relevant part of source code:

public void start() throws LifecycleException {

        // Validate and update our current component state
        if (log.isInfoEnabled() && started) {
            log.info(sm.getString("standardService.start.started"));
        }

        if( ! initialized )
            init(); 

Is it reasonable that start() method should return immediately?

I checked the start() methods in StandardServer, StandardEngine, StandardHost
and StandardContext, and found that they all return immediately if 'started'
has been 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