https://bz.apache.org/bugzilla/show_bug.cgi?id=57791

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
The provided test case fails because it is using the wrong configuration to map
the external JAR into the web application. Even though the file is a JAR, it
needs to be mapped as a file, not as a JAR. Mapping as a JAR exposes the
contents of the JAR to the web application which is not what is required. A
working configuration is:

<PreResources className="org.apache.catalina.webresources.FileResourceSet"
             
base="D:/PROYECTOS/modules/javaapp/target/javaapp-1.0-SNAPSHOT.jar"
              internalPath="/"
              webAppMount="/WEB-INF/lib/javaapp-1.0-SNAPSHOT.jar" />

This tells Tomcat to treat this external file as it it was located within the
web application.

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