You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "daniel.yeung.biz" <da...@gmail.com> on 2011/06/24 01:41:20 UTC
Tomcat failed to accept SSL connection in jvm mode
Hi,
I start tomcat in jvm mode by 'Monitor Tomcat' UI,google chrome gets error:
107 (net::ERR_SSL_PROTOCOL_ERROR), IE 9.0 cannot open SSL connection too.
In 'Startup' tab of 'Monitor Tomcat' UI, there are 2 different results:
1. when field 'mode' is set to 'jvm', browser cannot open SSL connection.
2. when field 'mode' is set to 'java', browser opened SSL connection
successfully.
%JAVA_HOME% points to IBM JRE, in 'java' mode, it can work, failed in jvm mode.
all files in logs folder don't report exceptions/errors.
in conf/server.xml, only updated all connectors to bind to
192.168.1.10:80/443/9009.
is this a bug or settings related?
thanks
2011-06-24
daniel.yeung.biz
Re: Tomcat failed to accept SSL connection in jvm mode
Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/6/24 daniel.yeung.biz <da...@gmail.com>:
> Hi,
> I start tomcat in jvm mode by 'Monitor Tomcat' UI,google chrome gets error:
> 107 (net::ERR_SSL_PROTOCOL_ERROR), IE 9.0 cannot open SSL connection too.
>
Please read here, starting with "When asking questions on the list, please ...":
http://tomcat.apache.org/lists.html#tomcat-users
>
> In 'Startup' tab of 'Monitor Tomcat' UI, there are 2 different results:
> 1. when field 'mode' is set to 'jvm', browser cannot open SSL connection.
> 2. when field 'mode' is set to 'java', browser opened SSL connection
> successfully.
>
> %JAVA_HOME% points to IBM JRE, in 'java' mode, it can work, failed in jvm mode.
Guessing about your OS and your environment....
I suspect you are running different JREs in the above cases. BTW,
IIRC JAVA_HOME variable is not applicable at all, when Tomcat is run
as a service. Launch 'Configure Tomcat' and see what JRE/JVM path is
there.
Anyway, you can enable debug logging in the service runner (on one of
the pages in the 'Configure Tomcat' dialog).
>
> all files in logs folder don't report exceptions/errors.
>
> in conf/server.xml, only updated all connectors to bind to
> 192.168.1.10:80/443/9009.
>
> is this a bug or settings related?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org