geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick McGuire (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-4926) Fix ConfigurationMonitorGBean management of PCRegistry class.
Date Fri, 23 Oct 2009 11:45:59 GMT
Fix ConfigurationMonitorGBean management of PCRegistry class. 
--------------------------------------------------------------

                 Key: GERONIMO-4926
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4926
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: osgi
    Affects Versions: 3.0
            Reporter: Rick McGuire


The ConfigurationMonitorGBean maintains a cache of active configuration class loaders and
when a configuration is shutdown, it tells the openjpa PCRegistry to remove any cached classes
associated with that class loader.  This won't work any more because there is no such thing
as a configuration class loader.   It might be possible to get the bundle for the class loader,
then request the list of managed classes and iterate through the classes looking for any class
that might be defined using a BundleReference class loader for that bundle.  If one is found,
then that classloader can be used for the deregister() operation. 

For now, the insertion of the map entries is disabled. 

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


Mime
View raw message