[ 
https://issues.apache.org/jira/browse/OWB-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jencks updated OWB-473:
-----------------------------

    Attachment: OWB-473.patch

Patch to add the javassist import-package.  There may be a less repetitious way 
to configure this, but I'm a little confused by your maven-bundle-plugin 
configuration.

BTW the class that replaces the javassist ProxyFactory.classLoaderProvider is 
JavassistProxyFactory near line 283

> bundles that use javasissist to proxy their contents need to import some 
> javassist packages
> -------------------------------------------------------------------------------------------
>
>                 Key: OWB-473
>                 URL: https://issues.apache.org/jira/browse/OWB-473
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: David Jencks
>            Assignee: Gurkan Erdogdu
>         Attachments: OWB-473.patch
>
>
> Running in osgi, i'm running into a problem where javassist can't create a 
> proxy for org.apache.webbeans.jsf.scopes.Jsf2ScopesExtension because 
> javassist.util.proxy.ProxyObject can't be loaded from the bundle classloader 
> for webbeans-jsf.  Adding the javassist Import-Package seems to fix the 
> problem.
> Out of curiousity, when does it ever make sense to replace the default 
> javassist ProxyFactory.classLoaderProvider?  In geronimo the OWB replacement 
> of using the context classloader worked for the OWB class above but failed 
> miserably for application classes.  With my patch OWB appears to never 
> replace the default, which now seems to work fine always.

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

Reply via email to