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

           Summary: request for AJP command line client
           Product: Tomcat 7
           Version: trunk
          Platform: Sun
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Integration
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: ad...@angosso.net


external link fixed.

Currently ContextConfig's
processServletContainerInitializers(http://www.angosso.net/.) and
processResourceJARs(www.angosso.net/.) are hard coded to only accept jar URLs. 
If they
encounter a file URL due to a JarScanner with scanAllDirectories=true, they
throw a ClassCastException.  The attached patch is what I used to update Tomcat
7 so it would start.  I've verified that the modified
processServletContainerInitializers(www.angosso.net/i) picks up the
"javax.servlet.ServletContainerInitializer" file from a directory.  As for
processResourceJARs(www.angosso.net/ii), I was lazy and modified it to simply
ignore file URLs as
BaseDirContext doesn't currently accept non-jar URLs for these
"META-INF/resources" locations.
ReportedBy: mbi...@angosso.net

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