tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Need help regarding SSL on tomcat
Date Wed, 14 May 2003 06:05:25 GMT
This is a pretty common error when trying to connect to an https port using
http.

"Shiva Paranandi" <sparanandi@talaris.com> wrote in message
news:A042053E4FA3074384757583271203D101EF39@svmail.mygazoo.com...
Hi,
We are on tomcat 4.1.10 and red hat linux 8.0. Below is the portion where I
have configured the SSL using JSSE.

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="7013" minProcessors="5" maxProcessors="75"
               enableLookups="true"
               acceptCount="10" debug="0" scheme="https" secure="true"
               useURIValidationHack="false">
      <Factory
className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
               clientAuth="false" protocol="TLS"
keystoreFile="/usr/local/tomcat/keystore/.keystore" keystorePass="3amigo$"/>
    </Connector>

Occasionally when we are connecting to the external sites I am seeing this
exception.

[ERROR] ThreadPool - -Caught exception executing
org.apache.tomcat.util.net.TcpWorkerThread@5a4086, terminating thread
<java.lang.NullPointerException>
java.net.SocketException: Socket closed
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
at
com.sun.net.ssl.internal.ssl.AppOutputStream.write([DashoPro-V1.2-120198])
at java.io.OutputStream.write(OutputStream.java:56)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake([DashoPro-V1.2-120
198])
at
org.apache.tomcat.util.net.JSSESocketFactory.handshake(JSSESocketFactory.jav
a:270)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:493)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
at java.lang.Thread.run(Thread.java:479)
[ERROR] PoolTcpEndpoint - -Handshake failed <java.net.SocketException:
Socket closed>
java.lang.NullPointerException
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:512)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
at java.lang.Thread.run(Thread.java:479)

Any help regarding this would be greatly appreciated.

Thanks,
Shiva Paranandi
Sr. Software Engineer

Talaris Corporation
1400 Fashion Island Boulevard
San Mateo, CA, 94404

(650) 212 8476 phone
(408) 569 3954 cell

sparanandi@talaris.com
http://www.talaris.com

Red Herring "Top 10 Companies to Watch"
InfoWorld "Top 100 Technology Innovators"
Enterprise 2002 "Top 5 New Big Thing"




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