geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4908) RMIClassLoader is not compatible with osgi
Date Fri, 16 Oct 2009 17:32:31 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-4908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766618#action_12766618
] 

David Jencks commented on GERONIMO-4908:
----------------------------------------

Jarek found that by putting our impl in a jar in lib it is loadable by the standard rm classloader
framework.  It is not clear to me whether this actually results in bundle classes being accessible
through rmi.  I guess we should leave this open until we know.

> RMIClassLoader is not compatible with osgi
> ------------------------------------------
>
>                 Key: GERONIMO-4908
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4908
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi
>    Affects Versions: 3.0
>            Reporter: David Jencks
>
> We have RMIClassLoaderSpiImpl in geronimo-kernel.  However, RMIClassLoader loads the
spi impl using the system classloader. (http://java.sun.com/javase/6/docs/api/java/rmi/server/RMIClassLoader.html)
 So we'd have to get our impl into the system classloader unless osgi provides an additional
level of delegation in the system classloader.
> For now I'm going to try not setting java.rmi.server.RMIClassLoaderSpi in RMIRegistryService

-- 
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