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

Reply via email to