Foren

Liferay 6.2 GA5 Tomcat7 ConnectionTimeout

Diego Cantone, geändert vor 7 Jahren.

Liferay 6.2 GA5 Tomcat7 ConnectionTimeout

Junior Member Beiträge: 42 Beitrittsdatum: 10.11.16 Neueste Beiträge
Hi guys, i have a problem with the connectionTimeout value in the server.xml configuration file of Tomcat, i've set it as below, but the timeout remains always the default 60 second, instead of 120 seconds, anyone have a solution? Can liferay in some way override this parameter?
Thanks.
<!-- Define an AJP 1.3 Connector on port 8009 -->
    <connector URIEncoding="UTF-8" connectionTimeout="120000" port="6242" protocol="AJP/1.3" redirectPort="8443" />
thumbnail
Olaf Kock, geändert vor 7 Jahren.

RE: Liferay 6.2 GA5 Tomcat7 ConnectionTimeout

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
Diego Cantone:
Hi guys, i have a problem with the connectionTimeout value in the server.xml configuration file of Tomcat, i've set it as below, but the timeout remains always the default 60 second, instead of 120 seconds, anyone have a solution? Can liferay in some way override this parameter?
Thanks.
<!-- Define an AJP 1.3 Connector on port 8009 -->
    <connector URIEncoding="UTF-8" connectionTimeout="120000" port="6242" protocol="AJP/1.3" redirectPort="8443" />


Liferay doesn't, but you're configuring this on an AJP port, suggesting that there's an Apache httpd or similar in front of tomcat. That side, as well as the browsers, might also trigger the timeout.
Diego Cantone, geändert vor 7 Jahren.

RE: Liferay 6.2 GA5 Tomcat7 ConnectionTimeout (Antwort)

Junior Member Beiträge: 42 Beitrittsdatum: 10.11.16 Neueste Beiträge
Olaf Kock:
Diego Cantone:
Hi guys, i have a problem with the connectionTimeout value in the server.xml configuration file of Tomcat, i've set it as below, but the timeout remains always the default 60 second, instead of 120 seconds, anyone have a solution? Can liferay in some way override this parameter?
Thanks.
<!-- Define an AJP 1.3 Connector on port 8009 -->
    <connector URIEncoding="UTF-8" connectionTimeout="120000" port="6242" protocol="AJP/1.3" redirectPort="8443" />


Liferay doesn't, but you're configuring this on an AJP port, suggesting that there's an Apache httpd or similar in front of tomcat. That side, as well as the browsers, might also trigger the timeout.


Thank you Olaf. i solved the problem, it was Apache!