You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org> on 2008/01/07 11:11:33 UTC

[jira] Assigned: (GERONIMO-2503) Webapp classloader prefers WEB-INF/lib over WEB-INF/classes

     [ https://issues.apache.org/jira/browse/GERONIMO-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy reassigned GERONIMO-2503:
---------------------------------------------

    Assignee: Vamsavardhana Reddy  (was: Rick McGuire)

Rev 465638 did not go into the web 2.5 builder code which was in sandbox then.

> Webapp classloader prefers WEB-INF/lib over WEB-INF/classes
> -----------------------------------------------------------
>
>                 Key: GERONIMO-2503
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2503
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 1.1, 1.1.1
>         Environment: windows and linux, jetty and tomcat
>            Reporter: Nikla Ratinen
>            Assignee: Vamsavardhana Reddy
>             Fix For: 1.1.2, 1.2
>
>         Attachments: patch.txt, test.war
>
>
> Application classloader looks in WAR's WEB-INF/lib before WEB-INF/classes. This is in violation of servlet 2.4 (and 2.3) specification, 9.5 Directory Structure, which states:
> "TheWeb application class loader must load classes from the WEB-INF/ classes directory first, and then from library JARs in the WEB-INF/lib directory." 
> This behaviour prevents web application from overriding classes and resources from included libraries.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.