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)" <ji...@apache.org> on 2007/06/12 01:41:25 UTC

[jira] Closed: (GERONIMO-3238) CORBA security failure in corba-helloworld testset

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

David Jencks closed GERONIMO-3238.
----------------------------------

    Resolution: Fixed

Fixed in rev 546319.  My current thinking is that the corba layer should not install a default subject, since an ejb can be configured with a default subject.  The ejb's idea of a default subject should override the transport layer's idea....i.e. the transport layer shouldn't have an idea of a default subject.

> CORBA security failure in corba-helloworld testset
> --------------------------------------------------
>
>                 Key: GERONIMO-3238
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3238
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: CORBA
>    Affects Versions: 2.0-M7
>            Reporter: Tim McConnell
>            Assignee: David Jencks
>             Fix For: 2.0-M7
>
>
> The corba-helloworld testset in the corba-testsuite is now failing with a NPE in the server as below. David Jencks is aware of the problem. 
> rebind() name
>    NameComponent 0 id=HelloWorldEJB kind=
> resolve() name
>    NameComponent 0 id=HelloWorldEJB kind=
> Jun 11, 2007 5:20:33 PM org.apache.yoko.orb.OB.Logger_impl warning
> WARNING: Servant method raised a non-CORBA exception
> Client receives this exception as CORBA::UNKNOWN
> operation name: "create"
> id: iiop
> local address: 127.0.0.1:6882
> remote address: 127.0.0.1:3471
> java.lang.NullPointerException
>         at java.util.Hashtable.put(Hashtable.java:396)
>         at org.apache.geronimo.corba.security.SubjectManager.setSubject(SubjectM
> anager.java:41)
>         at org.apache.geronimo.corba.security.ServerSecurityInterceptor.receive_
> request(ServerSecurityInterceptor.java:176)
>         at org.apache.yoko.orb.PortableInterceptor.ServerRequestInfo_impl._OB_re
> quest(ServerRequestInfo_impl.java:408)
>         at org.apache.yoko.orb.OB.PIManager.serverReceiveRequest(PIManager.java:
> 439)
>         at org.apache.yoko.orb.OB.PIUpcall.postUnmarshal(PIUpcall.java:86)
>         at org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Serva
> ntDispatcher.java:182)
>         at org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.j
> ava:1607)
>         at org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_im
> pl.java:56)
>         at org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrat
> egyFactory_impl.java:53)
>         at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)
>         at org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnect
> ionThreaded.java:502)
>         at org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOP
> ConnectionThreaded.java:64)
>  
> org.omg.CORBA.UNKNOWN: :  vmcid: 0x0 minor code: 0x0  completed: No
>         at org.apache.yoko.orb.OBPortableServer.POA_impl.handleUnknownException(
> POA_impl.java:289)
>         at org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.j
> ava:1643)
>         at org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_im
> pl.java:56)
>         at org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrat
> egyFactory_impl.java:53)
>         at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)
>         at org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnect
> ionThreaded.java:502)
>         at org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOP
> ConnectionThreaded.java:64)

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