You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <de...@tuscany.apache.org> on 2009/06/17 20:32:07 UTC

[jira] Updated: (TUSCANY-3069) Implementation.spring cannot resolve the location or bean classes if the contribution is not on the TCCL

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

Raymond Feng updated TUSCANY-3069:
----------------------------------

    Attachment: impl-spring.patch

Attached is a patch to fix the classloading issue

> Implementation.spring cannot resolve the location or bean classes if the contribution is not on the TCCL
> --------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3069
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3069
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.5, Java-SCA-2.0, Java-SCA-Next
>            Reporter: Raymond Feng
>            Priority: Critical
>         Attachments: impl-spring.patch
>
>
> Implementation.spring uses TCCL.getResource() to resolve the location as well as the bean classes. If the contribution is loaded by a different classloader which is not the same as TCCL, it fails to resolve. 
> We should use the ModelResolver for the contribution to resolve the location/classes instead.

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