[ 
https://issues.apache.org/jira/browse/TUSCANY-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520721
 ] 

Jean-Sebastien Delfino commented on TUSCANY-1460:
-------------------------------------------------

The problem is that our embedded Tomcat server does not set the correct 
classloader on the Tomcat StandardContexts it creates. I am fixing it.

> SDO databinding's SDO metadata is scoped in a classloader different from the 
> webapp classloader created by the embedded tomcat (ClassCastException w/ 
> sample-helloworld-sdo)
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1460
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1460
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Data Binding Runtime
>    Affects Versions: Java-SCA-Next
>            Reporter: Raymond Feng
>            Assignee: Jean-Sebastien Delfino
>             Fix For: Java-SCA-Next
>
>
> The embedded Tomcat creates web app classloader for the thread handling the 
> incoming HTTP requests. As a result, the scope for SDO HelperContext is 
> different from the classloader when the SDO metadata is introspected during 
> the contribution processing.
> We probably need a better scoping for SDO metadata than the classloader. 
> Contribution might be used as the key (we can even support import/export).

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to