https://issues.apache.org/bugzilla/show_bug.cgi?id=48055

           Summary: binding error in lifecycleEvent method of
                    org.apache.catalina.core.NamingContextListener class
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: qingyang...@qunar.com


in the lifecycleEvent(LifecycleEvent event) method of the class of
'org.apache.catalina.core.NamingContextListener':

            ContextAccessController.setSecurityToken(getName(), container);
            ContextBindings.bindContext(container, namingContext, container);
            if( log.isDebugEnabled() ) {
                log.debug("Bound " + container );
            }         

should be:

            ContextAccessController.setSecurityToken(getName(), container);
            ContextBindings.bindContext(getName(), namingContext, container);
            if( log.isDebugEnabled() ) {
                log.debug("Bound " + container );
            }

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