You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by randomw <ma...@gmail.com> on 2008/09/06 08:21:58 UTC

https problem after upgrading from Tomcat 5.5 to Tomcat 6


Hi,

I've been trying to upgrade from Tomcat 5.5.26 to Tomcat 6.0.18 for the past
couple days but just cannot get https to work.  Everything works as expected
in Tomcat 5.5.  Plain old http works in Tomcat 6, but the moment I try to
switch to https, the connection just times out.

After starting up, I see:


Sep 5, 2008 10:56:05 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Sep 5, 2008 10:56:05 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-443
Sep 5, 2008 10:56:05 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 280 ms
Sep 5, 2008 10:56:05 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 5, 2008 10:56:05 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Sep 5, 2008 10:56:35 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
Sep 5, 2008 10:56:35 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-443
Sep 5, 2008 10:56:35 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 29762 ms


There's nothing else of interest that I can find in any other log.

My server.xml looks like this:


    &lt;Connector port="80" redirectPort="443"
      maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
      acceptCount="100" enableLookups="false"
      connectionTimeout="20000" disableUploadTimeout="true"
      /&gt;

    &lt;Connector port="443" scheme="https" secure="true"
      clientAuth="false" sslProtocol="TLS"
      keystoreFile="path to my.keystore" keystorePass="myPassword"
      maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
      acceptCount="100" enableLookups="false"
      connectionTimeout="20000" disableUploadTimeout="true"
      /&gt;


Any ideas what might be the trouble here?  I'm pretty much at the end of my
rope.  All other references to problems of this sort that I can find relate
to using APR, which I'm not.


Thanks!

-- 
View this message in context: http://www.nabble.com/https-problem-after-upgrading-from-Tomcat-5.5-to-Tomcat-6-tp19343433p19343433.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: https problem after upgrading from Tomcat 5.5 to Tomcat 6

Posted by randomw <ma...@gmail.com>.
 
Markus Schönhaber-10 wrote:
> 
> Try adding SSLEnabled="true" to the Connector's attributes.
> 

Duh...  *bangs head on table*

I feel like a total fool.

Thanks for the help!
-- 
View this message in context: http://www.nabble.com/https-problem-after-upgrading-from-Tomcat-5.5-to-Tomcat-6-tp19343433p19345115.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: https problem after upgrading from Tomcat 5.5 to Tomcat 6

Posted by Markus Schönhaber <to...@list-post.mks-mail.de>.
randomw wrote:

> I've been trying to upgrade from Tomcat 5.5.26 to Tomcat 6.0.18 for the past
> couple days but just cannot get https to work.  Everything works as expected
> in Tomcat 5.5.  Plain old http works in Tomcat 6, but the moment I try to
> switch to https, the connection just times out.
[...]
> My server.xml looks like this:

>     &lt;Connector port="443" scheme="https" secure="true"
>       clientAuth="false" sslProtocol="TLS"
>       keystoreFile="path to my.keystore" keystorePass="myPassword"
>       maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>       acceptCount="100" enableLookups="false"
>       connectionTimeout="20000" disableUploadTimeout="true"
>       /&gt;
> 
> 
> Any ideas what might be the trouble here?  I'm pretty much at the end of my
> rope.  All other references to problems of this sort that I can find relate
> to using APR, which I'm not.

Try adding SSLEnabled="true" to the Connector's attributes.

Regards
   mks

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