tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Z Yang" <j...@waveline.com>
Subject Re: SSL ERROR, any previous answers?
Date Thu, 24 Apr 2003 02:49:05 GMT
Thanks for putting it that way, Bill :-)
I guess it is pretty clear what has happened now.

Thanks again.

John


----- Original Message ----- 
From: "Bill Barker" <wbarker@wilshire.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, April 24, 2003 10:50 AM
Subject: Re: SSL ERROR, any previous answers?


> Since it looks like the browser is dropping the connection during the
> initial SSL handshake.  My first guess is that you are using a self-signed
> server-cert, and the user clicked "No" when asked to accept it.  It could
> also be a very old browser that doesn't speak TLS (which is the default
> SSL-protocol for Tomcat), or a newer one that has it disabled.  All I can
> say for sure from this is that the browser doesn't like you and doesn't want
> to talk to you :-).
> 
> "John Z Yang" <john@waveline.com> wrote in message
> news:06cb01c309fe$81bb1310$6a00a8c0@waveline2000...
> > Dear all:
> > we run into some error messages while running SSL with Tomcat.
> > "ErrorHandler: Error loop for R( /) error javax.net.ssl.SSLException:
> error while writing to socket
> > 2003-04-22 12:16:39 - Http10Interceptor: SocketException reading request,
> ignored"
> >
> > Does anyone have experience with these kind of messages? What might have
> caused it?
> >
> > Many thanks.
> >
> > John
> >
> > The detailed message is the following
> > PoolTcpEndpoint: Handshake failed
> > javax.net.ssl.SSLException: error while writing to socket
> >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)
> >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
> >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
> >         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
> >         at java.io.OutputStream.write(OutputStream.java:58)
> >         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
> >         at
> org.apache.tomcat.util.net.JSSESocketFactory.handshake(JSSESocketFactory.jav
> a:270)
> >         at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:479)
> >         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:516)
> >         at java.lang.Thread.run(Thread.java:536)
> > ThreadPool: Caught exception executing
> org.apache.tomcat.util.net.TcpWorkerThread@6e4365, terminating thread
> > java.lang.NullPointerException
> >         at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:498)
> >         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:516)
> >         at java.lang.Thread.run(Thread.java:536)
> > PoolTcpEndpoint: Handshake failed
> > javax.net.ssl.SSLException: error while writing to socket
> >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)
> >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
> >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
> >         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
> >         at java.io.OutputStream.write(OutputStream.java:58)
> >         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
> >         at
> org.apache.tomcat.util.net.JSSESocketFactory.handshake(JSSESocketFactory.jav
> a:270)
> >         at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:479)
> >         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:516)
> >         at java.lang.Thread.run(Thread.java:536)
> > ThreadPool: Caught exception executing
> org.apache.tomcat.util.net.TcpWorkerThread@6e4365, terminating thread
> > java.lang.NullPointerException
> >         at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:498)
> >         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:516)
> >         at java.lang.Thread.run(Thread.java:536)
> > 2003-04-22 12:16:39 - Ctx() : IOException in R( /) -
> javax.net.ssl.SSLException: error while writing to socket
> >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)
> >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
> >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
> >         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
> >         at
> org.apache.tomcat.modules.server.Http10.sendHeaders(Http10.java:404)
> >         at
> org.apache.tomcat.modules.server.HttpResponse.endHeaders(Http10Interceptor.j
> ava:474)
> >         at
> org.apache.tomcat.core.OutputBuffer.realWriteBytes(OutputBuffer.java:176)
> >         at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360)
> >         at
> org.apache.tomcat.core.OutputBuffer.flush(OutputBuffer.java:315)
> >         at
> org.apache.tomcat.core.OutputBuffer.close(OutputBuffer.java:305)
> >         at org.apache.tomcat.core.Response.finish(Response.java:271)
> >         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:838)
> >         at
> org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
> nterceptor.java:176)
> >         at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
> >         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:516)
> >         at java.lang.Thread.run(Thread.java:536)
> >
> > 2003-04-22 12:16:39 - ErrorHandler: Error loop for R( /) error
> javax.net.ssl.SSLException: error while writing to socket
> > 2003-04-22 12:16:39 - Http10Interceptor: SocketException reading request,
> ignored
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Mime
View raw message