geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <jga...@gmail.com>
Subject Re: TSSConfigEditorTest requires SSL?
Date Fri, 28 Dec 2007 23:27:52 GMT
Try adding the following line to this test:

       corbaBean.getSslConfig().setProtocol("TLS");

so the code looks like:
        ....
        corbaBean.setTssConfig(tss);
        corbaBean.getSslConfig().setProtocol("TLS");
        ....

Jarek

On Dec 27, 2007 12:48 PM, Zakharov, Vasily M
<vasily.m.zakharov@intel.com> wrote:
> David,
>
> Yes, Harmony supports TLS, but looking at the test code
> and configuration I couldn't guess a way how the test
> could be reconfigured for TLS.
>
> One of the reasons I'm asking is I now have greater than
> 99% pass rate for GUT v2.0.2 on Harmony, and this test
> is the last one about which I'm not sure if we have
> a bug in Harmony, or a bug in the test or it's just because
> Harmony doesn't have SSL and that's a known issue.
>
> Vasily
>
>
>
> -----Original Message-----
> From: David Jencks [mailto:david_jencks@yahoo.com]
> Sent: Thursday, December 27, 2007 8:37 PM
> To: dev@geronimo.apache.org
> Subject: Re: TSSConfigEditorTest requires SSL?
>
> It has been a long time since I've worked with this test but I'm
> pretty sure that you are correct, the test sets up an SSL socket.  I
> seem to recall that Harmony supports TLS??  From the stack trace I
> wonder if the problem is in Yoko.  I'm definitely not a TLS expert,
> do you have any advice on how to fix this?
>
> thanks
> david jencks
>
> On Dec 27, 2007, at 10:33 AM, Zakharov, Vasily M wrote:
>
> > Hi, all,
> >
> > I wonder if org.apache.geronimo.yoko.TSSConfigEditorTest test is SSL
> > dependent?
> >
> > I'm trying to run Geronimo Unit Tests on Apache Harmony, and this test
> > fails (with the stack below) for the reason I couldn't find out.
> > Could that be because Harmony has no SSL implementation?
> >
> > SEVERE: Failure accepting connection for
> > host=ecwm0vmzakhar/172.28.118.8, port=8050
> > java.io.IOException: Connection was closed
> >     at
> > org.apache.harmony.xnet.provider.jsse.SSLSocketImpl.doHandshake
> > (SSLSocke
> > tImpl.java:760)
> >     at
> > org.apache.harmony.xnet.provider.jsse.SSLSocketImpl.startHandshake
> > (SSLSo
> > cketImpl.java:438)
> >     at
> > org.apache.harmony.xnet.provider.jsse.SSLServerSocketImpl.accept
> > (SSLServ
> > erSocketImpl.java:256)
> >     at
> > org.apache.yoko.orb.OCI.IIOP.Acceptor_impl.accept
> > (Acceptor_impl.java:111
> > )
> >     at
> > org.apache.yoko.orb.OB.GIOPServerStarterThreaded.starterRun
> > (GIOPServerSt
> > arterThreaded.java:195)
> >     at
> > org.apache.yoko.orb.OB.GIOPServerStarterThreaded$StarterThread.run
> > (GIOPS
> > erverStarterThreaded.java:34)
> >
> > Vasily Zakharov
> > Intel ESSD
> >
> >
> >
> > ---
> >
> > --------------------------------------------------------------------
> > Closed Joint Stock Company Intel A/O
> > Registered legal address: 125252, Moscow, Russian Federation,
> > Chapayevsky Per, 14.
> >
> > This e-mail and any attachments may contain confidential material for
> > the sole use of the intended recipient(s). Any review or distribution
> > by others is strictly prohibited. If you are not the intended
> > recipient, please contact the sender and delete all copies.
> >
>
> --------------------------------------------------------------------
> Closed Joint Stock Company Intel A/O
> Registered legal address: 125252, Moscow, Russian Federation,
> Chapayevsky Per, 14.
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
>

Mime
View raw message