TSSConfigEditorTest requires SSL?
4 Message(s) by 3 Author(s) originally posted in developer geronimo java
| From: "Zakharov, Vasily M" |
Date: Thursday, December 27, 2007
|
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 could not find out.
Could that be because Harmony has no SSL implementation?
SEVERE: Failure accepting connection for
host=3Decwm0vmzakhar/172.28.118.8, port=3D8050
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,=20
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 aren't the intended
recipient, please contact the sender and
delete all copies.
| From: David Jencks |
Date: Thursday, December 27, 2007
|
It has been a long time since I have 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've any advice on how to fix this?
thanks
david jencks
wrote in message:
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 could not 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 aren't the intended
recipient, please contact the sender and delete all copies.
>
| From: "Zakharov, Vasily M" |
Date: Thursday, December 27, 2007
|
David,
Yes, Harmony supports TLS, but looking at the test
code
and configuration I could not 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've
a
bug in Harmony, or a bug in the test or it's just because
Harmony does not have SSL and that's a known issue.
Vasily-----Original Message-----
From: David Jencks [mailto:david_jencks-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxx]=20
Sent: Thursday, December 27, 2007 8:37 PM
To: dev-nmThH5wfGryY1pf4d8vP8EB+6BGkLq7r@xxxxxxxxxxx
Subject: Re: TSSConfigEditorTest requires SSL?
It has been a long time since I have worked with this test but I'm =20
pretty sure that you are correct, the test sets up an SSL socket. I =20
seem to recall that Harmony supports TLS?? From the stack trace I =20
wonder if the problem is in Yoko. I'm definitely not a TLS expert, =20
do you've any advice on how to fix this?
thanks
david jencks
wrote in message:
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 could not find out.
Could that be because Harmony has no SSL implementation?
SEVERE: Failure accepting connection for
host=3Decwm0vmzakhar/172.28.118.8, port=3D8050
JAVA.io.IOException: Connection was closed
at
org.apache.harmony.xnet.provider.jsse.SSLSocketImpl.doHandshake=20
(SSLSocke
tImpl.JAVA:760)
at
org.apache.harmony.xnet.provider.jsse.SSLSocketImpl.startHandshake=20
(SSLSo
cketImpl.JAVA:438)
at
org.apache.harmony.xnet.provider.jsse.SSLServerSocketImpl.accept=20
(SSLServ
erSocketImpl.JAVA:256)
at
org.apache.yoko.orb.OCI.IIOP.Acceptor_impl.accept=20
(Acceptor_impl.JAVA:111
)
at
org.apache.yoko.orb.OB.GIOPServerStarterThreaded.starterRun=20
(GIOPServerSt
arterThreaded.JAVA:195)
at
org.apache.yoko.orb.OB.GIOPServerStarterThreaded$StarterThread.run=20
(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 aren't 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,=20
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 aren't the intended
recipient, please contact the sender and delete all copies.
| From: Jarek Gawor |
Date: Friday, December 28, 2007
|
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
wrote in message:
David,
Yes, Harmony supports TLS, but looking at the test code
and configuration I could not 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've
a bug in Harmony, or a bug in the test or it's just because
Harmony does not have SSL and that's a known issue.
Vasily
-----Original Message-----
From: David Jencks [mailto:david_jencks-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxx]
Sent: Thursday, December 27, 2007 8:37 PM
To: dev-nmThH5wfGryY1pf4d8vP8EB+6BGkLq7r@xxxxxxxxxxx
Subject: Re: TSSConfigEditorTest requires SSL?
It has been a long time since I have 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've any advice on how to fix this?
thanks
david jencks
wrote in message:
> 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 could not 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 aren't 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 aren't the intended
recipient, please contact the sender and delete all copies.
Next Message: [BUILD] 2.1: Failed for Revision: 606995