[ 
https://issues.apache.org/jira/browse/TUSCANY-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582709#action_12582709
 ] 

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

Committed the short term fix in the trunk and 1.2 branch.

> EJB binding extension not using the correct EJB interface class loader
> ----------------------------------------------------------------------
>
>                 Key: TUSCANY-2159
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2159
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA EJB Binding Extension
>    Affects Versions: Java-SCA-1.2
>            Reporter: Jean-Sebastien Delfino
>            Assignee: Jean-Sebastien Delfino
>             Fix For: Java-SCA-1.2
>
>
> The EJB  binding invoker seems to just rely on the classloader present on the 
> current thread context to resolve EJB interface classes returned from a JNDI 
> lookup of the EJB.
> This causes a ClassNotFoundException in the EJB interface specified on the 
> reference is coming from another classloader than the current thread context 
> classloader. This will likely cause similar issues with the EJB method 
> parameter classes as well.  
> A quick fix for release 1.2 is to set that classloader on the current thread 
> context before calling the invoker's doInvoke method.
> A longer term fix will require more investigation.

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