tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: SocketException when using localhost
Date Fri, 10 Jan 2014 15:36:35 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Nancee,

On 1/10/14, 5:28 AM, Nancee Riehl wrote:
> thank you for your reply! On the tomcat everything works fine, I
> can see that the client certificate is checked via my
> JSSE-Implementation in both cases!
> 
> This is the stacktrace from my test:
> 
> java.net.SocketException: Software caused connection abort: socket
> write error at java.net.SocketOutputStream.socketWrite0(Native
> Method) at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
>
> 
at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
> at
> sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:377) at
> sun.security.ssl.OutputRecord.write(OutputRecord.java:363) at 
> sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:830)
>
> 
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:801)
> at
> sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:672) 
> at
> sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:966)
>
> 
at
> sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1087)
>
> 
at
> sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1006)
>
> 
at
> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:285)
>
> 
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
> at sun.security.ssl.Handshaker.process_record(Handshaker.java:804) 
> at
> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016) 
> at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
>
> 
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
> at
> sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122) at
> java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
>
> 
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
> at 
> org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:146)
>
> 
at
> org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
>
> 
at
> org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
>
> 
at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
>
> 
at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
>
> 
at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>
> 
at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>
> 
at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
>
> 
at sendAndReceiveMessageFromVsddWithTLS(OCSPTestUtil.java:186)
> at testTLSCorruptedClientCert(TLSOcspTest.java:653)

You might want to try asking the commons folks who will likely have
better answers than here. Perhaps HttpClient is doing something that
may cause an error, or mask the "real" error?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS0BODAAoJEBzwKT+lPKRYfvEP/RyAJ9etdPH0sA60gDW+Jh7F
yQlNf3h7nNsAI/fYwdTYyY2Vre+H5QS0GYwy7dz/uAh3THx7X8RR7cN7qGI60Mmb
M6b5BzqZdr41cLVupBP5eY/zEZ1CwP4sfvu7iLzmIXVtarUnR9R0+Y14FoZwWlKW
YhihVPuGR51jNNQuLkuee4cQTwDEvtor8VxzwM9fSw5v6EzYKkq7hV32r6ju4Rih
XHDPbDj8kwfBATqT0u9J6GIei206iAZweGQfXSNQVeVpqycTK3gswnzB8yUJEPU3
Z46KyL7DzB1ksQ7bZ7k7gp+8gPmu9LADPl+DmegpY4N5Zdkor12QQszrDGk8gs6N
71ii2LlSotfE2zQPNcKQaFGMFG2p49xn2gT3ip2OcXEB+vdhjcPKf6RS2p3a1AuI
qTOCHmPtOY9Q/VJWVAaMZCoTLOZB4MDskOKHNMiZb1u3UWeuYr19fFh4Ko0Esff2
49TH9qKas7hqYKTaO6VkpN1WJnvF7ipWM128NMgmI82B1WLYYLULKxWpYsS4AgRD
oD1QvlmxCpUAC6ypLsXUxNcChVXe8POfQwdHx5a0ihwKGDlQM3bi+C7/Wm8F8g7b
MAEBvqZkX0THurSWlt+wrAALvwcdj+VjUQYlGzFPP1lTnGDpAWmzx1oe6ZNUVB2/
LjI/UrNlS+0aNkVv/Frc
=Ea2c
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message