You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (Commented) (JIRA)" <de...@tuscany.apache.org> on 2011/10/13 10:43:11 UTC

[jira] [Commented] (TUSCANY-3962) JCA20001 should not apply to interfaces which Tuscancy references

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

Simon Laws commented on TUSCANY-3962:
-------------------------------------

In this case have you excluded some @Remotable interfaces by not including them in the @Service() annotation? I suspect what is happening is that the code introspects all of the interfaces of an implementation regardless of the @Service configuration. 
                
> JCA20001 should not apply to interfaces which Tuscancy references
> -----------------------------------------------------------------
>
>                 Key: TUSCANY-3962
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3962
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - TUSCANY
>    Affects Versions: Java-SCA-2.0-Beta3
>         Environment: WindowsXP SP3
>            Reporter: Glen Conboy
>
> I have a component which references a Java RMI interface.
> When I try to run Tuscany I get this error:
> org.apache.tuscany.sca.interfacedef.OverloadedOperationException: [JCA20001] Cannot overload operation xyz on aaa.bbb.ccc.ddd.ServerInterface as it is a @Remotable interface
> JCA20001 basically states "Remotable Services MUST NOT make use of method overloading".  However I think that this should only apply to services which Tuscany is exposing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira