tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A J Rodrigues <antonio.jose.rodrig...@gmail.com>
Subject Tomcat 5.5.16 threads and SSL problem
Date Fri, 01 Dec 2006 09:43:51 GMT
Hi

I am fighting with Tomcat for a couple of days and I cannot find a cause 
to the problem.

I am using Tomcat 5.5.16 and it is configured to run HTTP on port 8081 
and HTTPS on port 8444.

The problem:
The application runs properly over HTTP. However over HTTPS the number 
of threads keep increasing and they remain busy forever.
When the maximum of threads is reached the Tomcat hangs.

I reviewed all the code and all database connections are closed after 
use. I checked directly in the database and there are not open connections.

I have tested the application using Tomcat 5.0.19 and it works perfectly 
  in both HTTP and HTTPS. The threads are released after use.


The connector configuration is the following:

<!-- Define a non-SSL HTTP/1.1 Connector on port 8081 -->
<Connector port="8081" maxHttpHeaderSize="8192" maxThreads="150"
	minSpareThreads="25" maxSpareThreads="75" enableLookups="false"
	redirectPort="8444" acceptCount="100" connectionTimeout="20000"
	disableUploadTimeout="true" />

<!-- Define a SSL HTTP/1.1 Connector on port 8444 -->
<Connector port="8444" maxHttpHeaderSize="8192"
	maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
	enableLookups="false" disableUploadTimeout="true"
	acceptCount="100" scheme="https" secure="true"
	clientAuth="false" sslProtocol="TLS"
	SSLEngine="on"
	SSLCACertificateFile="/home/helmet/thawteintermediate.crt"
	SSLCertificateFile="/home/helmet/intranet.crt"
	SSLCertificateKeyFile="/home/helmet/intranet.key" />

<!-- Define an AJP 1.3 Connector on port 8010 -->
<Connector port="8010"
	enableLookups="false" redirectPort="8444" protocol="AJP/1.3" />


Any ideas?

Thanks a lot.
António


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


Mime
View raw message