incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick McGuire (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (YOKO-161) ORB.destroy() gives UnsupportedOperationException when using SSL sockets.
Date Mon, 11 Sep 2006 10:03:22 GMT
     [ http://issues.apache.org/jira/browse/YOKO-161?page=all ]

Rick McGuire resolved YOKO-161.
-------------------------------

    Resolution: Fixed

Committed revision 442157.

UnsupportedOperationExceptions are ignored for socket stopInput()/stopOutput() operations.
 Since the socket is closed immediately after the stop operations, ignoring these execeptions
are fine for sockets that don't support this. 

> ORB.destroy() gives UnsupportedOperationException when using SSL sockets.
> -------------------------------------------------------------------------
>
>                 Key: YOKO-161
>                 URL: http://issues.apache.org/jira/browse/YOKO-161
>             Project: Yoko - CORBA Server
>          Issue Type: Bug
>          Components: orb core
>    Affects Versions: 1.0-incubating-M1
>            Reporter: Rick McGuire
>         Assigned To: Rick McGuire
>             Fix For: 1.0-incubating-M1
>
>
> When an iioc helper plugin provides an SSLServerSocket for an ORB listener, an UnsupportedOperationException
occurs on ORB.destroy() when trying to shutdown the socket.  Stack traceback is below:
> 13:45:00,953 ERROR [GBeanInstance] Problem in doStop of org.apache.geronimo.conf
> igs/j2ee-corba/1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-c
> orba/1.2-SNAPSHOT/car,j2eeType=CORBABean,name=Server
> java.lang.UnsupportedOperationException: The method shutdownInput() is not suppo
> rted in SSLSocket
>         at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.shutdownInput(DashoA12
> 275)
>         at org.apache.yoko.orb.OCI.IIOP.Transport_impl.shutdownSocket(Transport_
> impl.java:91)
>         at org.apache.yoko.orb.OCI.IIOP.Transport_impl.shutdownSocket(Transport_
> impl.java:84)
>         at org.apache.yoko.orb.OCI.IIOP.Transport_impl.close(Transport_impl.java
> :152)
>         at org.apache.yoko.orb.OB.GIOPServerStarterThreaded.setState(GIOPServerS
> tarterThreaded.java:166)
>         at org.apache.yoko.orb.OB.GIOPServer.destroy(GIOPServer.java:86)
>         at org.apache.yoko.orb.OB.ServerManager.destroy(ServerManager.java:77)
>         at org.apache.yoko.orb.OBPortableServer.POAManager_impl.deactivate(POAMa
> nager_impl.java:336)
>         at org.apache.yoko.orb.OBPortableServer.POAManagerFactory_impl._OB_deact
> ivate(POAManagerFactory_impl.java:341)
>         at org.apache.yoko.orb.OB.ORBControl.completeServerShutdown(ORBControl.j
> ava:99)
>         at org.apache.yoko.orb.OB.ORBControl.shutdownServer(ORBControl.java:403)
>         at org.apache.yoko.orb.OB.ORBControl.shutdownServerClient(ORBControl.jav
> a:431)
>         at org.apache.yoko.orb.OBCORBA.ORB_impl.destroy(ORB_impl.java:1365)
>         at org.openejb.corba.CORBABean.doStop(CORBABean.java:205)

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

        

Mime
View raw message