Shield Sling from the classes and resources in the environment
--------------------------------------------------------------
Key: SLING-866
URL: https://issues.apache.org/jira/browse/SLING-866
Project: Sling
Issue Type: Improvement
Components: Launchpad Launcher
Affects Versions: Launchpad Base 2.0.4
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: Launchpad Base 2.0.4
As noted in [1], Sling suffers from leaking classes from the environment. This
particularly is a problem with the Apache Felix framework classes (most notably
in the case of Glassfish v3 Prelude) and the OSGi core and compendium
libraries, which may be leaked from other containers classloaders as well.
To shield Sling from this leakage, the ClassLoader created to load the launcher
JAR should be set up such, that classes from packages contained in the launcher
JAR file should never be tried to be loaded from the environment. An exception
to this rule is the META-INF folder contents and any classes in below the javax
root package (most notable the javax.servlet classes, which must be loaded from
the servlet container to prevent class cast problems).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.