You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2005/11/08 21:42:20 UTC

[jira] Created: (GERONIMO-1147) CORBAHandleDelegate does not work with some orbs

CORBAHandleDelegate does not work with some orbs
------------------------------------------------

         Key: GERONIMO-1147
         URL: http://issues.apache.org/jira/browse/GERONIMO-1147
     Project: Geronimo
        Type: Bug
  Components: OpenEJB  
    Versions: 1.0    
    Reporter: David Jencks
 Assigned to: David Jencks 
     Fix For: 1.0


CORBAHandleDelegate is called by handles to deserialize the home and remote stubs.  The ejb 2.1 spec 19.5.5.1 seems to imply that the correct stub should be obtained by in.readObject() but some orbs appear to return a  generic remote stub that needs to be narrowed to EJBHome/ EJBObject.  For maximum flexibility we could replace a cast with a call to PortableRemoteObject.narrow.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-1147) CORBAHandleDelegate does not work with some orbs

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1147?page=all ]
     
David Jencks closed GERONIMO-1147:
----------------------------------

    Resolution: Fixed

Checking in modules/core/src/java/org/openejb/corba/CORBAHandleDelegate.java;
new revision: 1.3; previous revision: 1.2


> CORBAHandleDelegate does not work with some orbs
> ------------------------------------------------
>
>          Key: GERONIMO-1147
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1147
>      Project: Geronimo
>         Type: Bug
>   Components: OpenEJB
>     Versions: 1.0
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0

>
> CORBAHandleDelegate is called by handles to deserialize the home and remote stubs.  The ejb 2.1 spec 19.5.5.1 seems to imply that the correct stub should be obtained by in.readObject() but some orbs appear to return a  generic remote stub that needs to be narrowed to EJBHome/ EJBObject.  For maximum flexibility we could replace a cast with a call to PortableRemoteObject.narrow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira