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

             Bug #: 52952
           Summary: Improve ExtensionValidator handling for embedded
                    scenarios
           Product: Tomcat 7
           Version: 7.0.26
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: knst.koli...@gmail.com
    Classification: Unclassified


The following call was added in r1242101

In StandardServer#initInternal():

> +  ExtensionValidator.addSystemResource(f);

The above is a static method and it does not check for duplicates.

It does not scale well. E.g. if there are several Tomcat instances, e.g. run by
JUnit.


I'd say that implementing ExtensionValidator with static methods is at fault
here. The only place where it is called is

StandardContext#startInternal()
-> calls ExtensionValidator.validateApplication().

I do not see a need for static methods there. It should be possible to get a
specific ExtensionValidator instance in StandardContext.

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