Foros de discusión

Liferay 6.2 GA5 Tomcat7 ConnectionTimeout

Diego Cantone, modificado hace 7 años.

Liferay 6.2 GA5 Tomcat7 ConnectionTimeout

Junior Member Mensajes: 42 Fecha de incorporación: 10/11/16 Mensajes recientes
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, modificado hace 7 años.

RE: Liferay 6.2 GA5 Tomcat7 ConnectionTimeout

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
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, modificado hace 7 años.

RE: Liferay 6.2 GA5 Tomcat7 ConnectionTimeout (Respuesta)

Junior Member Mensajes: 42 Fecha de incorporación: 10/11/16 Mensajes recientes
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!