[jira] Updated: (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 ] Joe Bohn updated GERONIMO-2503: --- Fix Version/s: (was: 2.0.x) 2.0.3 > 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, 2.0.3, 2.1 > > 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.
[jira] Updated: (GERONIMO-2503) Webapp classloader prefers WEB-INF/lib over WEB-INF/classes
[ http://issues.apache.org/jira/browse/GERONIMO-2503?page=all ] Rick McGuire updated GERONIMO-2503: --- Fix Version/s: 1.1.2 1.2 > Webapp classloader prefers WEB-INF/lib over WEB-INF/classes > --- > > Key: GERONIMO-2503 > URL: http://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 > Assigned To: Rick McGuire > Fix For: 1.2, 1.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. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-2503) Webapp classloader prefers WEB-INF/lib over WEB-INF/classes
[ http://issues.apache.org/jira/browse/GERONIMO-2503?page=all ] Nikla Ratinen updated GERONIMO-2503: Attachment: patch.txt test.war A minimal web application to demonstrate the issue. Should print "Servlet loaded from WEB-INF/classes" to System.out when servlet class loaded from WEB-INF/classes. Also, a patch against org.apache.geronimo.web.deployment.AbstractWebModuleBuilder to change classloading order. > Webapp classloader prefers WEB-INF/lib over WEB-INF/classes > --- > > Key: GERONIMO-2503 > URL: http://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 > 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. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira