You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Glenn Holliday <gh...@csc.com> on 2006/06/12 17:29:20 UTC
Re: Tomcat 5.0.28 can't init TLS after restart
Glenn Holliday wrote on May 30
>
> Tomcat 5.0.28 on Solaris 9 has been correctly serving Web apps
> using both http and https. Then, after the Sun computer was
> shut down and restarted, Tomcat failed to serve https requests.
> It appears it could not initialize the https connector.
> It continues to serve http requests normally.
I eventually read enough of the Tomcat source code to recognize
what was happening. Here's the explanation.
We had a <Connector> for https that defined both protocol="TLS" and
sslProtocol="TLS". That was an error. Tomcat was trying to create an
instance of CoyoteConnector for protocol TLS, but that class only
recognizes
protocols HTTP/1.1 and AJP/1.3. So Tomcat created a null protocol handler
for the connector. Once I removed the protocol attribute, which made it
use the default protocols HTTP/1.1, all was well.
All of our backup copies of the configuration files contain the incorrect
attribute, so it
seems like it should never have worked. I don't understand why it once
did, but I'm happy to have it working again.
--
Glenn Holliday
Computer Sciences Corporation
ghollida@csc.com 540-644-6636
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
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