You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Brent Daniel (JIRA)" <de...@tuscany.apache.org> on 2009/09/16 19:17:57 UTC
[jira] Resolved: (TUSCANY-3278) Cglib enhancer needs visibility
into multiple classloaders in osgi environment
[ https://issues.apache.org/jira/browse/TUSCANY-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brent Daniel resolved TUSCANY-3278.
-----------------------------------
Resolution: Fixed
Fix Version/s: Java-SCA-1.5.1
> Cglib enhancer needs visibility into multiple classloaders in osgi environment
> ------------------------------------------------------------------------------
>
> Key: TUSCANY-3278
> URL: https://issues.apache.org/jira/browse/TUSCANY-3278
> Project: Tuscany
> Issue Type: Bug
> Affects Versions: Java-SCA-1.5
> Reporter: Brent Daniel
> Assignee: Brent Daniel
> Fix For: Java-SCA-1.5.1
>
>
> When Tuscany 1.5.x is run in an osgi environment with separation between an application classloader and bundle loaders, CglibProxyFactory.createProxy() will fail with a NoClassDefFound error because the classloader for the business interface does not have access to CgLib and the classloader for CgLib does not have access to the business interface.
> A similar problem was discovered in the 2.x stream and fixed there (see org.apache.tuscany.sca.binding.rmi.provider.RMIServiceBindingProvider and org.apache.tuscany.sca.common.java.classloader.ClassLoaderDelegate.)
> I'm not aware of anywhere else in the 1.5.1 branch that needs this classloader function, so this probably doesn't require moving the entire ClassLoaderDelegate class and common module back to 1.5.1.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.