geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianny Damour (JIRA)" <>
Subject [jira] Created: (GERONIMO-4590) One ClassLoader per Jar Model
Date Tue, 17 Mar 2009 10:50:50 GMT
One ClassLoader per Jar Model

                 Key: GERONIMO-4590
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: kernel
    Affects Versions: 2.1.3
            Reporter: Gianny Damour
            Assignee: Gianny Damour

As discussed on @dev, to reduce the number of ClassCastExceptions caused by collaborating
configurations importing the same dependencies, the classloading design can be improved to
use a shared and global poll of classloaders.

Each classloader in this global poll is mapped to only one JAR. They are put in a hierarchy
according to their maven dependency declarations. As maven dependencies may not be systematically
correct, additional dependency declarations can also be provided by dropping a XML file "artifactId-version-additional.xml"
beside the JAR or POM file "artifactId-version.jar (.pom)" whose dependencies are to be supplemented.

This patch is a preview of the functionality to trigger more discussions.

22 out of the 74 configurations of the jetty-jee5 assembly can start fine with this patch.
The failure observed for the failing configuration appears to be another maven dependency
declaration issue.

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

View raw message